Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 106.5 kB / 16.4 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009763/0.0009764, allocations: 195.9 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7085/0.7085, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 68.36 kB / 0.5572 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1394, allocations: 76.18 MB / 0.6316 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5513/0.6908, allocations: 209.9 MB / 0.8366 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.7052, allocations: 9.85 MB / 0.8462 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.7079, allocations: 61.19 kB / 0.8462 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.7101, allocations: 0.7736 MB / 0.847 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008336/0.7185, allocations: 2.81 MB / 0.8497 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003855/0.7224, allocations: 1.393 MB / 0.8511 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006394/0.7288, allocations: 4.071 MB / 0.8551 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/0.7312, allocations: 1.323 MB / 0.8564 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/0.7341, allocations: 1.394 MB / 0.8577 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/0.7371, allocations: 1.223 MB / 0.8589 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005204/0.7376, allocations: 144 kB / 0.859 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005433/0.743, allocations: 2.393 MB / 0.8614 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.7442, allocations: 0.6078 MB / 0.862 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.7463, allocations: 0.8557 MB / 0.8628 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007351/0.7537, allocations: 3.005 MB / 0.8657 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.7537, allocations: 0 / 0.8657 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7537, allocations: 0 / 0.8657 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.556e-05/0.7538, allocations: 0 / 0.8657 GB, free: 12.8 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004855/0.7587, allocations: 1.9 MB / 0.8676 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.7588, allocations: 12.03 kB / 0.8676 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000338/0.7591, allocations: 168.8 kB / 0.8678 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/0.7624, allocations: 497.6 kB / 0.8683 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.7648, allocations: 1.12 MB / 0.8693 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/0.7649, allocations: 82.14 kB / 0.8694 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.7652, allocations: 116 kB / 0.8695 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.7673, allocations: 1.153 MB / 0.8707 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.7674, allocations: 7.844 kB / 0.8707 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.7675, allocations: 48 kB / 0.8707 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.7675, allocations: 38.14 kB / 0.8708 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.7693, allocations: 1.078 MB / 0.8718 GB, free: 6.449 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006876/0.7762, allocations: 4.19 MB / 0.8759 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.7775, allocations: 0.7902 MB / 0.8767 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006332/0.7782, allocations: 486.2 kB / 0.8771 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/0.7785, allocations: 292.3 kB / 0.8774 GB, free: 372 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.7786, allocations: 47.55 kB / 0.8775 GB, free: 312 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=83): time 2.665e-06/0.7786, allocations: 0 / 0.8775 GB, free: 312 kB / 0.6231 GB Notification: Performance of matching and sorting (n=89): time 0.005607/0.7842, allocations: 2.84 MB / 0.8802 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.7843, allocations: 60.41 kB / 0.8803 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.7858, allocations: 0.9832 MB / 0.8812 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-05/0.7859, allocations: 45.7 kB / 0.8813 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/0.7863, allocations: 0.5435 MB / 0.8818 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000297/0.7866, allocations: 303.5 kB / 0.8821 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.7869, allocations: 158.6 kB / 0.8823 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.787, allocations: 337.9 kB / 0.8826 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005231/0.7875, allocations: 341.8 kB / 0.8829 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.7882, allocations: 489.9 kB / 0.8834 GB, free: 10.05 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005808/0.794, allocations: 3.041 MB / 0.8863 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.794, allocations: 4 kB / 0.8863 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001623/0.7956, allocations: 1.011 MB / 0.8873 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.7957, allocations: 4 kB / 0.8873 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7957, allocations: 7.938 kB / 0.8873 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.7957, allocations: 8 kB / 0.8874 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.7964, allocations: 187.7 kB / 0.8875 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.7965, allocations: 7.938 kB / 0.8875 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.7976, allocations: 36.27 kB / 0.8876 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/0.7976, allocations: 36 kB / 0.8876 GB, free: 5.625 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006065/0.7983, allocations: 377.5 kB / 0.888 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.7985, allocations: 126.5 kB / 0.8881 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.7989, allocations: 156.2 kB / 0.8882 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.7989, allocations: 8 kB / 0.8882 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.7989, allocations: 0 / 0.8882 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001465/0.8004, allocations: 1.098 MB / 0.8893 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005062/0.8054, allocations: 3.047 MB / 0.8923 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.8055, allocations: 8 kB / 0.8923 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/0.8062, allocations: 163.7 kB / 0.8925 GB, free: 400 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003578/0.8065, allocations: 98.16 kB / 0.8926 GB, free: 296 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/0.8066, allocations: 31.94 kB / 0.8926 GB, free: 264 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/0.8092, allocations: 3.086 MB / 0.8956 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/0.8092, allocations: 15.94 kB / 0.8956 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.8116, allocations: 1.729 MB / 0.8973 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000709/0.8123, allocations: 311.5 kB / 0.8976 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/0.8126, allocations: 32.06 kB / 0.8976 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.8136, allocations: 45.47 kB / 0.8977 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.8137, allocations: 84.11 kB / 0.8978 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.8139, allocations: 47.98 kB / 0.8978 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009843/0.8148, allocations: 0.6956 MB / 0.8985 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8149, allocations: 3.938 kB / 0.8985 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00121/0.8161, allocations: 368 kB / 0.8988 GB, free: 9.414 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003013/0.8191, allocations: 2.412 MB / 0.9012 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.8205, allocations: 0.8551 MB / 0.902 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.8205, allocations: 0 / 0.902 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009256/0.8215, allocations: 0.6657 MB / 0.9027 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/0.8257, allocations: 0.9353 MB / 0.9036 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.8387, allocations: 9.67 MB / 0.913 GB, free: 10.29 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009268/0.8397, allocations: 1.249 MB / 0.9142 GB, free: 9.008 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001226/0.8409, allocations: 347 kB / 0.9146 GB, free: 8.664 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006633/0.8416, allocations: 475.3 kB / 0.915 GB, free: 8.199 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.8416, allocations: 0 / 0.915 GB, free: 8.199 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07487/0.9165, allocations: 39.05 MB / 0.9532 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.47, allocations: 8 kB / 0.9532 GB, free: 1.582 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)