Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",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.001095/0.001095, allocations: 100.2 kB / 16.98 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.001236/0.001236, allocations: 187.6 kB / 17.88 MB, free: 5.594 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.379/1.379, 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.2/0.2, allocations: 44.23 MB / 337.1 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 14.11 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1166, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.02579/0.1424, allocations: 24.22 MB / 495.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0187/0.1611, allocations: 14.77 MB / 0.4986 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005215/0.1617, allocations: 11.88 kB / 0.4986 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000932/0.1626, allocations: 266.8 kB / 0.4988 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008022/0.1707, allocations: 2.961 MB / 0.5017 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008258/0.179, allocations: 3.002 MB / 0.5047 GB, free: 332 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2547/0.4336, allocations: 0.6102 MB / 0.5053 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006686/0.4343, allocations: 236.2 kB / 0.5055 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.4355, allocations: 433.8 kB / 0.5059 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/0.4359, allocations: 230.8 kB / 0.5061 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.436, allocations: 17.56 kB / 0.5061 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01781/0.4538, allocations: 7.172 MB / 0.5131 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.4541, allocations: 86.59 kB / 0.5132 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.4545, allocations: 115.9 kB / 0.5133 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00896/0.4635, allocations: 3.07 MB / 0.5163 GB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4635, allocations: 0 / 0.5163 GB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4635, allocations: 1.031 kB / 0.5163 GB, free: 13.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.4635, allocations: 0 / 0.5163 GB, free: 13.51 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004583/0.4681, allocations: 1.243 MB / 0.5175 GB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4682, allocations: 10.44 kB / 0.5176 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.719e-05/0.4682, allocations: 73.67 kB / 0.5176 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.4701, allocations: 236.8 kB / 0.5178 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.4707, allocations: 381.3 kB / 0.5182 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.4707, allocations: 28.69 kB / 0.5182 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.4708, allocations: 32.81 kB / 0.5183 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.4724, allocations: 0.6337 MB / 0.5189 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4724, allocations: 1.281 kB / 0.5189 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.4724, allocations: 15.84 kB / 0.5189 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.4725, allocations: 9.5 kB / 0.5189 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.474, allocations: 0.591 MB / 0.5195 GB, free: 12.33 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.003396/0.4774, allocations: 2.762 MB / 0.5222 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.4795, allocations: 0.5831 MB / 0.5228 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04789/0.5274, allocations: 24.43 MB / 0.5466 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.5274, allocations: 39.38 kB / 0.5467 GB, free: 7.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.145e-06/0.5275, allocations: 0 / 0.5467 GB, free: 7.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.002829/0.5303, allocations: 0.8624 MB / 0.5475 GB, free: 6.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.5304, allocations: 106.8 kB / 0.5476 GB, free: 6.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/0.5309, allocations: 392.2 kB / 0.548 GB, free: 6.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.5309, allocations: 29.02 kB / 0.548 GB, free: 5.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.5311, allocations: 229.6 kB / 0.5482 GB, free: 5.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.31e-05/0.5312, allocations: 95.48 kB / 0.5483 GB, free: 5.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/0.5312, allocations: 16.08 kB / 0.5483 GB, free: 5.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5314, allocations: 351.5 kB / 0.5487 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.5317, allocations: 156.5 kB / 0.5488 GB, free: 5.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.5322, allocations: 294.9 kB / 0.5491 GB, free: 5.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.5326, allocations: 184.8 kB / 0.5493 GB, free: 4.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5326, allocations: 4 kB / 0.5493 GB, free: 4.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001046/0.5337, allocations: 0.5085 MB / 0.5498 GB, free: 4.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005724/0.5343, allocations: 1.393 MB / 0.5511 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5343, allocations: 7.984 kB / 0.5511 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.5343, allocations: 9.641 kB / 0.5511 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.5347, allocations: 106.1 kB / 0.5512 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.5347, allocations: 8 kB / 0.5513 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.5352, allocations: 85.14 kB / 0.5513 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.5353, allocations: 21.38 kB / 0.5514 GB, free: 2.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.5353, allocations: 4 kB / 0.5514 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009319/0.5362, allocations: 439.1 kB / 0.5518 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5362, allocations: 4.859 kB / 0.5518 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.5362, allocations: 4 kB / 0.5518 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.5366, allocations: 110.5 kB / 0.5519 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5366, allocations: 11.38 kB / 0.5519 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.537, allocations: 67.38 kB / 0.552 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.537, allocations: 19.8 kB / 0.552 GB, free: 2.332 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002757/0.5373, allocations: 242.2 kB / 0.5522 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.525e-05/0.5374, allocations: 47.47 kB / 0.5523 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.5399, allocations: 1.972 MB / 0.5542 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.174e-05/0.5399, allocations: 34.38 kB / 0.5542 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5399, allocations: 2.188 kB / 0.5542 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.5399, allocations: 4 kB / 0.5542 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.541, allocations: 1.066 MB / 0.5553 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.541, allocations: 3.562 kB / 0.5553 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.5414, allocations: 91.47 kB / 0.5554 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.5414, allocations: 3.953 kB / 0.5554 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.5414, allocations: 15.69 kB / 0.5554 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5414, allocations: 0 / 0.5554 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5414, allocations: 2.812 kB / 0.5554 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.5429, allocations: 1.126 MB / 0.5565 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.5432, allocations: 270.6 kB / 0.5567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.5433, allocations: 15.33 kB / 0.5568 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.5436, allocations: 37.91 kB / 0.5568 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/0.5437, allocations: 37.27 kB / 0.5568 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.5438, allocations: 18.81 kB / 0.5568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004399/0.5442, allocations: 375.3 kB / 0.5572 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.042e-06/0.5442, allocations: 0 / 0.5572 GB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005344/0.5496, allocations: 1.14 MB / 0.5583 GB, free: 13.33 MB / 414.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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01107/0.5607, allocations: 2.793 MB / 0.561 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.5626, allocations: 0.8875 MB / 0.5619 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5626, allocations: 0 / 0.5619 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006132/0.5632, allocations: 0.5286 MB / 0.5624 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.5645, allocations: 228.9 kB / 0.5626 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007028/0.5715, allocations: 5.058 MB / 0.5676 GB, free: 5.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.5721, allocations: 1.011 MB / 0.5686 GB, free: 4.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009555/0.5731, allocations: 0.6028 MB / 0.5692 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.5734, allocations: 285.2 kB / 0.5694 GB, free: 3.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5734, allocations: 0 / 0.5694 GB, free: 3.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08289/0.6563, allocations: 48.29 MB / 0.6166 GB, free: 3.477 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.6565, allocations: 238 kB / 0.6168 GB, free: 3.242 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.25/4.907, allocations: 0 / 0.6168 GB, free: 3.242 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat