Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.001017/0.001017, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 176.5 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4386/0.4386, allocations: 43.55 MB / 314.5 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005695/0.0005696, allocations: 14.97 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1341, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3657/0.4998, allocations: 125.4 MB / 0.5549 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008113/0.508, allocations: 4.87 MB / 0.5597 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.5092, allocations: 23.81 kB / 0.5597 GB, free: 8.824 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.5107, allocations: 277.1 kB / 0.56 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.5134, allocations: 0.7166 MB / 0.5607 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.5164, allocations: 0.803 MB / 0.5614 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.5183, allocations: 1.04 MB / 0.5625 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008816/0.5192, allocations: 384.3 kB / 0.5628 GB, free: 5.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.5205, allocations: 0.5647 MB / 0.5634 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.5216, allocations: 494.4 kB / 0.5638 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.5219, allocations: 32 kB / 0.5639 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.5234, allocations: 427.4 kB / 0.5643 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004409/0.5239, allocations: 215.4 kB / 0.5645 GB, free: 3.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.5243, allocations: 161.3 kB / 0.5646 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.5257, allocations: 0.8029 MB / 0.5654 GB, free: 2.969 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5258, allocations: 4 kB / 0.5654 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.5258, allocations: 4 kB / 0.5654 GB, free: 2.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.155e-05/0.5258, allocations: 0 / 0.5654 GB, free: 2.961 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002204/0.528, allocations: 0.9207 MB / 0.5663 GB, free: 1.992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.5281, allocations: 19.94 kB / 0.5663 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002514/0.5283, allocations: 94.52 kB / 0.5664 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004459/0.5288, allocations: 91.8 kB / 0.5665 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.5299, allocations: 0.4927 MB / 0.567 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.53, allocations: 108.4 kB / 0.5671 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/0.5301, allocations: 48 kB / 0.5672 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5314, allocations: 0.8071 MB / 0.5679 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.5315, allocations: 3.938 kB / 0.5679 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/0.5316, allocations: 24 kB / 0.568 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.003e-05/0.5316, allocations: 40.92 kB / 0.568 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.5327, allocations: 0.6523 MB / 0.5686 GB, free: 15.48 MB / 446.1 MB 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.004644/0.5374, allocations: 3.983 MB / 0.5725 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.5382, allocations: 421.3 kB / 0.5729 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006633/0.5388, allocations: 0.7405 MB / 0.5737 GB, free: 9.902 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.5389, allocations: 42.83 kB / 0.5737 GB, free: 9.852 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.904e-06/0.5389, allocations: 0 / 0.5737 GB, free: 9.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003242/0.5421, allocations: 1.536 MB / 0.5752 GB, free: 8.246 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.5423, allocations: 136.5 kB / 0.5753 GB, free: 8.082 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006969/0.543, allocations: 0.5615 MB / 0.5759 GB, free: 7.512 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.543, allocations: 33.7 kB / 0.5759 GB, free: 7.473 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.5433, allocations: 355 kB / 0.5763 GB, free: 7.121 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.5434, allocations: 165.7 kB / 0.5764 GB, free: 6.957 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.5435, allocations: 20 kB / 0.5764 GB, free: 6.938 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5436, allocations: 374.7 kB / 0.5768 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.544, allocations: 213.9 kB / 0.577 GB, free: 6.355 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.5445, allocations: 0.5084 MB / 0.5775 GB, free: 5.711 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.545, allocations: 312.5 kB / 0.5778 GB, free: 5.406 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.545, allocations: 4 kB / 0.5778 GB, free: 5.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001776/0.5468, allocations: 0.8939 MB / 0.5787 GB, free: 4.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.5468, allocations: 16.95 kB / 0.5787 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5469, allocations: 8 kB / 0.5787 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.5482, allocations: 299.5 kB / 0.579 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.5486, allocations: 127.8 kB / 0.5791 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.5497, allocations: 0.883 MB / 0.58 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/0.5502, allocations: 44.05 kB / 0.58 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.5502, allocations: 35.98 kB / 0.58 GB, free: 3.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003636/0.5506, allocations: 257.4 kB / 0.5803 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.5507, allocations: 67.16 kB / 0.5803 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.5521, allocations: 0.7641 MB / 0.5811 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.5521, allocations: 4 kB / 0.5811 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5522, allocations: 4 kB / 0.5811 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.5522, allocations: 3.984 kB / 0.5811 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.5543, allocations: 1.419 MB / 0.5825 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5543, allocations: 4 kB / 0.5825 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.5554, allocations: 207.9 kB / 0.5827 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.5555, allocations: 28.78 kB / 0.5827 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.5555, allocations: 15.12 kB / 0.5827 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.558, allocations: 2.688 MB / 0.5854 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.558, allocations: 0 / 0.5854 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.5598, allocations: 1.068 MB / 0.5864 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.5602, allocations: 220.2 kB / 0.5866 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-05/0.5603, allocations: 8 kB / 0.5866 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.5607, allocations: 31.97 kB / 0.5866 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.5608, allocations: 35.91 kB / 0.5867 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.5608, allocations: 27.98 kB / 0.5867 GB, free: 11.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005171/0.5614, allocations: 411 kB / 0.5871 GB, free: 11.33 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5614, allocations: 0 / 0.5871 GB, free: 11.33 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008449/0.5622, allocations: 219.9 kB / 0.5873 GB, free: 11.11 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002335/0.5646, allocations: 2.176 MB / 0.5894 GB, free: 8.848 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.5658, allocations: 0.5905 MB / 0.59 GB, free: 8.258 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5659, allocations: 4 kB / 0.59 GB, free: 8.254 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.5669, allocations: 455.7 kB / 0.5904 GB, free: 7.797 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5683, allocations: 329.3 kB / 0.5908 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008439/0.5768, allocations: 10.43 MB / 0.6009 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.5774, allocations: 0.954 MB / 0.6019 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007962/0.5782, allocations: 206.5 kB / 0.6021 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.5785, allocations: 235.3 kB / 0.6023 GB, free: 11.39 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5786, allocations: 0 / 0.6023 GB, free: 11.39 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03983/0.6184, allocations: 20.22 MB / 0.622 GB, free: 7.223 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/0.6188, allocations: 264.2 kB / 0.6223 GB, free: 6.871 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.882, allocations: 0 / 0.6223 GB, free: 6.871 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat