Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve",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.0008786/0.0008783, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001086/0.001086, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7378/0.7378, allocations: 89.64 MB / 380.6 MB, free: 11.45 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 10.53 kB / 460 MB, free: 24.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.146, allocations: 68.84 MB / 0.5165 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.4907/0.6368, allocations: 123.2 MB / 0.6368 GB, free: 6.988 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00473/0.6416, allocations: 2.789 MB / 0.6395 GB, free: 4.758 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.6421, allocations: 6.219 kB / 0.6395 GB, free: 4.754 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.6428, allocations: 169.2 kB / 0.6397 GB, free: 4.613 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.6441, allocations: 440.7 kB / 0.6401 GB, free: 4.246 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.6451, allocations: 293.5 kB / 0.6404 GB, free: 4.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008666/0.646, allocations: 442.1 kB / 0.6408 GB, free: 3.754 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.6462, allocations: 95.08 kB / 0.6409 GB, free: 3.695 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005296/0.6467, allocations: 246.8 kB / 0.6411 GB, free: 3.555 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.6471, allocations: 260.2 kB / 0.6414 GB, free: 3.406 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.6471, allocations: 14.75 kB / 0.6414 GB, free: 3.406 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.6484, allocations: 0.5009 MB / 0.6419 GB, free: 3.203 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.6485, allocations: 61.95 kB / 0.6419 GB, free: 3.152 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.6486, allocations: 103.9 kB / 0.642 GB, free: 3.086 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006188/0.6492, allocations: 445.2 kB / 0.6424 GB, free: 2.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.6492, allocations: 3.938 kB / 0.6425 GB, free: 2.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6492, allocations: 0 / 0.6425 GB, free: 2.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.6492, allocations: 0 / 0.6425 GB, free: 2.805 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001318/0.6505, allocations: 0.707 MB / 0.6431 GB, free: 2.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.6506, allocations: 8.344 kB / 0.6431 GB, free: 2.18 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.786e-05/0.6507, allocations: 70.94 kB / 0.6432 GB, free: 2.113 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.414e-05/0.6508, allocations: 44.34 kB / 0.6433 GB, free: 2.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.6512, allocations: 315.7 kB / 0.6436 GB, free: 1.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.6512, allocations: 27.62 kB / 0.6436 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.6513, allocations: 35.44 kB / 0.6436 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.652, allocations: 420.7 kB / 0.644 GB, free: 1.484 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.652, allocations: 0 / 0.644 GB, free: 1.484 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.652, allocations: 10.84 kB / 0.644 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.6521, allocations: 8.188 kB / 0.644 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006478/0.6527, allocations: 387.1 kB / 0.6444 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.6549, allocations: 1.881 MB / 0.6462 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007345/0.6556, allocations: 360.4 kB / 0.6466 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002055/0.6577, allocations: 1.59 MB / 0.6481 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004851/0.6582, allocations: 209.1 kB / 0.6483 GB, free: 13.58 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 2.384e-06/0.6582, allocations: 0 / 0.6483 GB, free: 13.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.001393/0.6596, allocations: 0.6069 MB / 0.6489 GB, free: 13.21 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.6597, allocations: 60.81 kB / 0.649 GB, free: 13.14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.66, allocations: 289.8 kB / 0.6493 GB, free: 12.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.66, allocations: 33.7 kB / 0.6493 GB, free: 12.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.6602, allocations: 197.7 kB / 0.6495 GB, free: 12.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/0.6603, allocations: 122.1 kB / 0.6496 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.6603, allocations: 10.62 kB / 0.6496 GB, free: 12.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6605, allocations: 346.5 kB / 0.6499 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.6608, allocations: 128.8 kB / 0.6501 GB, free: 12.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.6611, allocations: 178.3 kB / 0.6502 GB, free: 12.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.6614, allocations: 163 kB / 0.6504 GB, free: 12 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6614, allocations: 0 / 0.6504 GB, free: 12 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009377/0.6624, allocations: 476.8 kB / 0.6509 GB, free: 11.74 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.6624, allocations: 30.7 kB / 0.6509 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6624, allocations: 2.469 kB / 0.6509 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.6627, allocations: 45.7 kB / 0.6509 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.663, allocations: 79.61 kB / 0.651 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.6643, allocations: 1.444 MB / 0.6524 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.6646, allocations: 49.55 kB / 0.6525 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.6647, allocations: 10.28 kB / 0.6525 GB, free: 10.18 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002759/0.665, allocations: 149.8 kB / 0.6526 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.665, allocations: 41.02 kB / 0.6527 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.6662, allocations: 0.5303 MB / 0.6532 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6662, allocations: 2.906 kB / 0.6532 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6662, allocations: 2.719 kB / 0.6532 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6662, allocations: 0 / 0.6532 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.6678, allocations: 0.9858 MB / 0.6541 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6678, allocations: 0 / 0.6541 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.6681, allocations: 64.53 kB / 0.6542 GB, free: 8.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.6682, allocations: 47.56 kB / 0.6542 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.6683, allocations: 16.53 kB / 0.6543 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.6697, allocations: 1.44 MB / 0.6557 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6698, allocations: 0 / 0.6557 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.6709, allocations: 0.6724 MB / 0.6563 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.6711, allocations: 121.7 kB / 0.6564 GB, free: 6.859 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.6712, allocations: 10.78 kB / 0.6564 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.6714, allocations: 22.23 kB / 0.6565 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.6715, allocations: 39.55 kB / 0.6565 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.6716, allocations: 14.78 kB / 0.6565 GB, free: 6.812 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.6718, allocations: 224.7 kB / 0.6567 GB, free: 6.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6718, allocations: 0 / 0.6567 GB, free: 6.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006281/0.6724, allocations: 157.5 kB / 0.6569 GB, free: 6.625 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/0.6742, allocations: 1.473 MB / 0.6583 GB, free: 5.465 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009875/0.6752, allocations: 0.4963 MB / 0.6588 GB, free: 5.141 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6752, allocations: 0 / 0.6588 GB, free: 5.141 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.6757, allocations: 310.3 kB / 0.6591 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.6764, allocations: 120.7 kB / 0.6592 GB, free: 4.875 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.6808, allocations: 3.021 MB / 0.6622 GB, free: 2.641 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/0.6814, allocations: 0.8016 MB / 0.663 GB, free: 1.887 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.6817, allocations: 78.84 kB / 0.663 GB, free: 1.859 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.6819, allocations: 137.6 kB / 0.6632 GB, free: 1.754 MB / 478.1 MB Notification: Performance of SimCode: time 6.32e-07/0.6819, allocations: 0 / 0.6632 GB, free: 1.754 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.7079, allocations: 11.01 MB / 0.6739 GB, free: 7.734 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.7081, allocations: 215.4 kB / 0.6741 GB, free: 7.496 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.768, allocations: 4.062 kB / 0.6741 GB, free: 7.492 MB / 494.1 MB (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat does not exist to compare? outputFormat=mat