Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",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.001161/0.001161, allocations: 96.58 kB / 16.99 MB, free: 5.938 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.001385/0.001385, allocations: 182.6 kB / 17.87 MB, free: 5.609 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.327/1.327, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1093, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03167/0.141, allocations: 30.76 MB / 0.4905 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01702/0.1581, allocations: 14.37 MB / 0.5046 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007503/0.1588, allocations: 19.81 kB / 0.5046 GB, free: 404 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.1599, allocations: 362.4 kB / 0.5049 GB, free: 40 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2421/0.402, allocations: 3.115 MB / 0.508 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008233/0.4103, allocations: 2.552 MB / 0.5105 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002704/0.413, allocations: 1.06 MB / 0.5115 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009405/0.4139, allocations: 459.7 kB / 0.5119 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.4156, allocations: 0.6438 MB / 0.5126 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006735/0.4163, allocations: 409.3 kB / 0.513 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.479e-05/0.4164, allocations: 36.62 kB / 0.513 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01952/0.4359, allocations: 7.223 MB / 0.52 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006009/0.4365, allocations: 191.7 kB / 0.5202 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005801/0.4371, allocations: 169.1 kB / 0.5204 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.4484, allocations: 3.406 MB / 0.5237 GB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4485, allocations: 0 / 0.5237 GB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4485, allocations: 0 / 0.5237 GB, free: 11.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.4485, allocations: 1.438 kB / 0.5237 GB, free: 11.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00527/0.4538, allocations: 1.476 MB / 0.5252 GB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.4538, allocations: 9.406 kB / 0.5252 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.454, allocations: 106.5 kB / 0.5253 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/0.4568, allocations: 379.1 kB / 0.5256 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009851/0.4578, allocations: 0.5149 MB / 0.5261 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.458, allocations: 108.4 kB / 0.5262 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.4581, allocations: 57.44 kB / 0.5263 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.4605, allocations: 1.15 MB / 0.5274 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.4606, allocations: 0 / 0.5274 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.4606, allocations: 30.55 kB / 0.5274 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.801e-05/0.4607, allocations: 36.23 kB / 0.5275 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.4633, allocations: 1.087 MB / 0.5285 GB, free: 9.137 MB / 382.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.006011/0.4693, allocations: 5.049 MB / 0.5335 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.4718, allocations: 0.967 MB / 0.5344 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04949/0.5213, allocations: 24.43 MB / 0.5583 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.5214, allocations: 39.78 kB / 0.5583 GB, free: 13.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/0.5214, allocations: 7.562 kB / 0.5583 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.006994/0.5284, allocations: 2.071 MB / 0.5603 GB, free: 11.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/0.5285, allocations: 107.2 kB / 0.5604 GB, free: 11.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/0.5293, allocations: 0.5847 MB / 0.561 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.5294, allocations: 36.2 kB / 0.5611 GB, free: 11.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.5296, allocations: 314.5 kB / 0.5614 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.5298, allocations: 164.7 kB / 0.5615 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.5299, allocations: 10.44 kB / 0.5615 GB, free: 10.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.5301, allocations: 374.4 kB / 0.5619 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.5308, allocations: 334.8 kB / 0.5622 GB, free: 10.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008501/0.5316, allocations: 0.4895 MB / 0.5627 GB, free: 9.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007319/0.5324, allocations: 361.6 kB / 0.563 GB, free: 9.465 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5324, allocations: 0 / 0.563 GB, free: 9.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002213/0.5346, allocations: 1.076 MB / 0.5641 GB, free: 8.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.5346, allocations: 8.453 kB / 0.5641 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5347, allocations: 8 kB / 0.5641 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.5358, allocations: 428.8 kB / 0.5645 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.5363, allocations: 129.3 kB / 0.5646 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.5382, allocations: 1.645 MB / 0.5662 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007749/0.539, allocations: 106.5 kB / 0.5663 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.539, allocations: 31.23 kB / 0.5664 GB, free: 6.578 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003702/0.5394, allocations: 234.1 kB / 0.5666 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.5396, allocations: 67.2 kB / 0.5666 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00429/0.5438, allocations: 3.313 MB / 0.5699 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.424e-05/0.5439, allocations: 44.67 kB / 0.5699 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.5439, allocations: 0 / 0.5699 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.5439, allocations: 7.75 kB / 0.5699 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.5457, allocations: 1.562 MB / 0.5715 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5457, allocations: 0 / 0.5715 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.5461, allocations: 93.56 kB / 0.5715 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/0.5476, allocations: 0.8908 MB / 0.5724 GB, free: 2.199 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.5476, allocations: 14.73 kB / 0.5724 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/0.55, allocations: 2.306 MB / 0.5747 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.55, allocations: 0 / 0.5747 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.5532, allocations: 2.304 MB / 0.5769 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/0.5538, allocations: 358 kB / 0.5773 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.5539, allocations: 11.5 kB / 0.5773 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/0.5545, allocations: 73.25 kB / 0.5774 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.5546, allocations: 65.45 kB / 0.5774 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.5547, allocations: 27.23 kB / 0.5774 GB, free: 14.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006324/0.5553, allocations: 0.5075 MB / 0.5779 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5554, allocations: 0 / 0.5779 GB, free: 13.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004689/0.5601, allocations: 1.164 MB / 0.5791 GB, free: 12.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.009848/0.5699, allocations: 3.834 MB / 0.5828 GB, free: 9.672 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002481/0.5724, allocations: 1.148 MB / 0.5839 GB, free: 8.883 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.5724, allocations: 0 / 0.5839 GB, free: 8.883 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.5738, allocations: 0.8858 MB / 0.5848 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.5757, allocations: 351.5 kB / 0.5851 GB, free: 8.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.5882, allocations: 9.312 MB / 0.5942 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/0.589, allocations: 1.177 MB / 0.5954 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008206/0.5898, allocations: 348.2 kB / 0.5957 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004977/0.5903, allocations: 395.3 kB / 0.5961 GB, free: 13.18 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5903, allocations: 0 / 0.5961 GB, free: 13.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.6909, allocations: 59.99 MB / 0.6547 GB, free: 1.543 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.6912, allocations: 263 kB / 0.6549 GB, free: 1.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.888/5.58, allocations: 0 / 0.6549 GB, free: 1.18 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat