Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000925/0.0009251, allocations: 96.06 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001045/0.001046, allocations: 204.2 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003005, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 63.47 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03441/0.1679, allocations: 30.84 MB / 0.5004 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2568/0.4247, allocations: 14.35 MB / 0.5144 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008308/0.4256, allocations: 21.22 kB / 0.5144 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.4268, allocations: 364.4 kB / 0.5147 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01197/0.4388, allocations: 3.132 MB / 0.5178 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009624/0.4485, allocations: 2.554 MB / 0.5203 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003357/0.4518, allocations: 1.065 MB / 0.5213 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.453, allocations: 463.6 kB / 0.5218 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.4547, allocations: 0.6437 MB / 0.5224 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007287/0.4555, allocations: 407.9 kB / 0.5228 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.645e-05/0.4556, allocations: 37.38 kB / 0.5228 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01807/0.4737, allocations: 7.23 MB / 0.5299 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005629/0.4743, allocations: 193.9 kB / 0.5301 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.4748, allocations: 164.8 kB / 0.5302 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.4848, allocations: 3.424 MB / 0.5336 GB, free: 9.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4849, allocations: 0 / 0.5336 GB, free: 9.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4849, allocations: 0 / 0.5336 GB, free: 9.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.4849, allocations: 4 kB / 0.5336 GB, free: 9.578 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.005458/0.4904, allocations: 1.469 MB / 0.535 GB, free: 8.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4904, allocations: 8.656 kB / 0.535 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/0.4906, allocations: 110.3 kB / 0.5351 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.4933, allocations: 383.3 kB / 0.5355 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009/0.4942, allocations: 0.5089 MB / 0.536 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.4943, allocations: 117 kB / 0.5361 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.4944, allocations: 56.31 kB / 0.5362 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/0.4969, allocations: 1.155 MB / 0.5373 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.4969, allocations: 2.469 kB / 0.5373 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-05/0.497, allocations: 23.88 kB / 0.5373 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-05/0.497, allocations: 35.91 kB / 0.5373 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.4995, allocations: 1.087 MB / 0.5384 GB, free: 7.387 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.006016/0.5056, allocations: 5.04 MB / 0.5433 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.5081, allocations: 0.967 MB / 0.5443 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0526/0.5607, allocations: 27 MB / 0.5706 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/0.5608, allocations: 38.25 kB / 0.5707 GB, free: 6.867 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 3.487e-06/0.5608, allocations: 0 / 0.5707 GB, free: 6.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.007039/0.5679, allocations: 2.076 MB / 0.5727 GB, free: 5.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.568, allocations: 107.2 kB / 0.5728 GB, free: 4.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008293/0.5688, allocations: 0.5882 MB / 0.5734 GB, free: 4.527 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/0.5689, allocations: 33.52 kB / 0.5734 GB, free: 4.496 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.5692, allocations: 327.9 kB / 0.5737 GB, free: 4.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.5694, allocations: 150.2 kB / 0.5739 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.5694, allocations: 14.62 kB / 0.5739 GB, free: 4.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5696, allocations: 376.4 kB / 0.5742 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.5703, allocations: 333.1 kB / 0.5746 GB, free: 3.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008284/0.5711, allocations: 499.6 kB / 0.575 GB, free: 3.121 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007551/0.5719, allocations: 362.5 kB / 0.5754 GB, free: 2.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.5719, allocations: 0 / 0.5754 GB, free: 2.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002262/0.5742, allocations: 1.073 MB / 0.5764 GB, free: 1.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5742, allocations: 12.03 kB / 0.5764 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.5742, allocations: 7.953 kB / 0.5764 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.5754, allocations: 432.3 kB / 0.5769 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.5759, allocations: 125.7 kB / 0.577 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.5778, allocations: 1.637 MB / 0.5786 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008292/0.5787, allocations: 126 kB / 0.5787 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/0.5788, allocations: 28 kB / 0.5787 GB, free: 15.32 MB / 430.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.0004104/0.5792, allocations: 239.2 kB / 0.579 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.5793, allocations: 67.25 kB / 0.579 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/0.5838, allocations: 3.303 MB / 0.5822 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.102e-05/0.5838, allocations: 43.92 kB / 0.5823 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.5839, allocations: 3.953 kB / 0.5823 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.5839, allocations: 3.984 kB / 0.5823 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.5859, allocations: 1.558 MB / 0.5838 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5859, allocations: 3.984 kB / 0.5838 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.5862, allocations: 90.56 kB / 0.5839 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.5878, allocations: 0.8893 MB / 0.5848 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.5879, allocations: 14.91 kB / 0.5848 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.5906, allocations: 2.315 MB / 0.587 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5906, allocations: 0 / 0.587 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/0.5943, allocations: 2.303 MB / 0.5893 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007584/0.5951, allocations: 354.6 kB / 0.5896 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.5952, allocations: 12 kB / 0.5896 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005714/0.5958, allocations: 71.94 kB / 0.5897 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.596, allocations: 68.45 kB / 0.5898 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.5961, allocations: 23.98 kB / 0.5898 GB, free: 3.855 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006888/0.5968, allocations: 0.5068 MB / 0.5903 GB, free: 3.348 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5968, allocations: 4 kB / 0.5903 GB, free: 3.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004496/0.6013, allocations: 1.167 MB / 0.5914 GB, free: 2.176 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.009131/0.6104, allocations: 3.835 MB / 0.5952 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.613, allocations: 1.15 MB / 0.5963 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.613, allocations: 0 / 0.5963 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.6145, allocations: 0.881 MB / 0.5972 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.6165, allocations: 353.7 kB / 0.5975 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.6297, allocations: 9.309 MB / 0.6066 GB, free: 2.656 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.6305, allocations: 1.181 MB / 0.6077 GB, free: 1.445 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008032/0.6313, allocations: 359.7 kB / 0.6081 GB, free: 1.098 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.6317, allocations: 399.2 kB / 0.6085 GB, free: 0.707 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6317, allocations: 6.734 kB / 0.6085 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09371/0.7254, allocations: 60.05 MB / 0.6671 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.7257, allocations: 254.5 kB / 0.6674 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.942/5.667, allocations: 0 / 0.6674 GB, free: 4.574 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat