Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_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.001488/0.001488, allocations: 95.89 kB / 15.68 MB, free: 488 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.001179/0.001179, allocations: 175.4 kB / 16.56 MB, free: 6.379 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.481/1.481, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.354/0.354, allocations: 43.54 MB / 314.5 MB, free: 8.777 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.0005477/0.0005477, allocations: 20 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1448, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2847/0.4295, allocations: 30.77 MB / 473.6 MB, free: 33.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01603/0.4455, allocations: 14.33 MB / 488 MB, free: 23.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009225/0.4465, allocations: 21.88 kB / 488 MB, free: 23.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.4477, allocations: 365.3 kB / 488.3 MB, free: 23.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009908/0.4576, allocations: 3.124 MB / 491.5 MB, free: 21.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007431/0.4651, allocations: 2.546 MB / 494 MB, free: 20.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.467, allocations: 1.055 MB / 495.1 MB, free: 19.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006993/0.4677, allocations: 465.9 kB / 495.5 MB, free: 19.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.4689, allocations: 0.6339 MB / 496.1 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.4695, allocations: 411.4 kB / 496.5 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.169e-05/0.4695, allocations: 37.59 kB / 496.6 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01904/0.4886, allocations: 7.217 MB / 0.492 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007114/0.4894, allocations: 201.2 kB / 0.4922 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005104/0.4899, allocations: 162.5 kB / 0.4923 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.5018, allocations: 3.414 MB / 0.4957 GB, free: 16.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.5018, allocations: 0 / 0.4957 GB, free: 16.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5018, allocations: 1.531 kB / 0.4957 GB, free: 16.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.5018, allocations: 0 / 0.4957 GB, free: 16.74 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.007614/0.5095, allocations: 1.471 MB / 0.4971 GB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.5095, allocations: 12.8 kB / 0.4971 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/0.5097, allocations: 105.9 kB / 0.4972 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/0.5127, allocations: 379.9 kB / 0.4976 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.5138, allocations: 0.5065 MB / 0.4981 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.5139, allocations: 116.4 kB / 0.4982 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.69e-05/0.5141, allocations: 53.12 kB / 0.4982 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.5169, allocations: 1.152 MB / 0.4994 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.5169, allocations: 9.578 kB / 0.4994 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.023e-05/0.517, allocations: 26.59 kB / 0.4994 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/0.5171, allocations: 32.89 kB / 0.4994 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002812/0.5199, allocations: 1.087 MB / 0.5005 GB, free: 14.04 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.008026/0.528, allocations: 5.054 MB / 0.5054 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/0.5311, allocations: 0.9612 MB / 0.5064 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05381/0.5849, allocations: 24.42 MB / 0.5302 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.763e-05/0.5851, allocations: 50.12 kB / 0.5303 GB, free: 3.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 2.414e-06/0.5851, allocations: 0 / 0.5303 GB, free: 3.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.007238/0.5923, allocations: 2.072 MB / 0.5323 GB, free: 1.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.5924, allocations: 107.2 kB / 0.5324 GB, free: 1.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00083/0.5933, allocations: 0.5964 MB / 0.533 GB, free: 472 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-05/0.5934, allocations: 33.7 kB / 0.533 GB, free: 432 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.5936, allocations: 319.6 kB / 0.5333 GB, free: 104 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.5938, allocations: 150 kB / 0.5335 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.5938, allocations: 12 kB / 0.5335 GB, free: 15.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.594, allocations: 378.7 kB / 0.5338 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.5947, allocations: 333.1 kB / 0.5341 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008193/0.5956, allocations: 0.4904 MB / 0.5346 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007509/0.5963, allocations: 360.6 kB / 0.535 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5963, allocations: 4 kB / 0.535 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002309/0.5987, allocations: 1.071 MB / 0.536 GB, free: 13.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.5987, allocations: 8 kB / 0.536 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5987, allocations: 4.469 kB / 0.536 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.5999, allocations: 437.1 kB / 0.5364 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.6005, allocations: 123.8 kB / 0.5366 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.6025, allocations: 1.635 MB / 0.5382 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008516/0.6034, allocations: 127.1 kB / 0.5383 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.915e-05/0.6035, allocations: 31.98 kB / 0.5383 GB, free: 10.83 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.0004259/0.6039, allocations: 229.8 kB / 0.5385 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.6041, allocations: 63.25 kB / 0.5386 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00454/0.6086, allocations: 3.313 MB / 0.5418 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.843e-05/0.6087, allocations: 39.94 kB / 0.5419 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6087, allocations: 3.953 kB / 0.5419 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.6087, allocations: 3.984 kB / 0.5419 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.6106, allocations: 1.562 MB / 0.5434 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.6106, allocations: 1.062 kB / 0.5434 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.611, allocations: 91.88 kB / 0.5435 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.6127, allocations: 0.8893 MB / 0.5444 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.6127, allocations: 15.98 kB / 0.5444 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.6153, allocations: 2.299 MB / 0.5466 GB, free: 2.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.6153, allocations: 0 / 0.5466 GB, free: 2.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/0.6187, allocations: 2.312 MB / 0.5489 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006114/0.6193, allocations: 358.6 kB / 0.5492 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.6194, allocations: 18.94 kB / 0.5492 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005751/0.62, allocations: 63.94 kB / 0.5493 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.6201, allocations: 72.39 kB / 0.5494 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.6202, allocations: 19.98 kB / 0.5494 GB, free: 15.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006662/0.6209, allocations: 0.5107 MB / 0.5499 GB, free: 14.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6209, allocations: 0 / 0.5499 GB, free: 14.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006128/0.627, allocations: 1.163 MB / 0.551 GB, free: 13.65 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.01515/0.6422, allocations: 3.825 MB / 0.5548 GB, free: 9.809 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002932/0.6452, allocations: 1.153 MB / 0.5559 GB, free: 8.648 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.6452, allocations: 0 / 0.5559 GB, free: 8.648 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.6468, allocations: 0.8888 MB / 0.5567 GB, free: 7.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.6488, allocations: 349 kB / 0.5571 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.6638, allocations: 9.314 MB / 0.5662 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/0.6646, allocations: 1.185 MB / 0.5673 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008416/0.6654, allocations: 344.3 kB / 0.5677 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.6659, allocations: 399.3 kB / 0.568 GB, free: 12.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.6659, allocations: 0 / 0.568 GB, free: 12.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/0.7698, allocations: 59.95 MB / 0.6266 GB, free: 40 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3459/1.116, allocations: 260.9 kB / 0.6268 GB, free: 158.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.031/6.146, allocations: 2.297 kB / 0.6268 GB, free: 158.5 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat