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.000876/0.0008763, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009511/0.0009512, allocations: 168.7 kB / 15.95 MB, free: 204 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.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.667/0.667, allocations: 89.66 MB / 380.7 MB, free: 11.38 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004339/0.0004343, allocations: 9.562 kB / 460.2 MB, free: 24.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 68.84 MB / 0.5166 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.4837/0.6316, allocations: 131.9 MB / 0.6454 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004241/0.6359, allocations: 3.084 MB / 0.6484 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003497/0.6363, allocations: 6.25 kB / 0.6484 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005894/0.6369, allocations: 167.6 kB / 0.6486 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.6379, allocations: 446.2 kB / 0.649 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008051/0.6387, allocations: 276.9 kB / 0.6493 GB, free: 13.51 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007756/0.6395, allocations: 0.7713 MB / 0.65 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.6397, allocations: 92.92 kB / 0.6501 GB, free: 13 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005101/0.6402, allocations: 266.2 kB / 0.6503 GB, free: 12.86 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.6406, allocations: 315 kB / 0.6506 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.6406, allocations: 19.94 kB / 0.6507 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009874/0.6416, allocations: 480.3 kB / 0.6511 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/0.6417, allocations: 58.12 kB / 0.6512 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.6418, allocations: 102.1 kB / 0.6513 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005414/0.6424, allocations: 450.1 kB / 0.6517 GB, free: 12.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6424, allocations: 4 kB / 0.6517 GB, free: 12.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6424, allocations: 4 kB / 0.6517 GB, free: 12.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.6424, allocations: 0 / 0.6517 GB, free: 12.07 MB / 478.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.001293/0.6437, allocations: 0.7107 MB / 0.6524 GB, free: 11.44 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.6438, allocations: 9.156 kB / 0.6524 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.982e-05/0.6439, allocations: 69 kB / 0.6525 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.6439, allocations: 52.06 kB / 0.6525 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.6443, allocations: 308.7 kB / 0.6528 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.6444, allocations: 27.5 kB / 0.6529 GB, free: 11.03 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.6444, allocations: 36.62 kB / 0.6529 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.6451, allocations: 425.6 kB / 0.6533 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6451, allocations: 0 / 0.6533 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.6452, allocations: 14.94 kB / 0.6533 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.6452, allocations: 7.938 kB / 0.6533 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.6459, allocations: 382.7 kB / 0.6537 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.648, allocations: 1.85 MB / 0.6555 GB, free: 8.797 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000757/0.6488, allocations: 350.4 kB / 0.6558 GB, free: 8.609 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.6491, allocations: 175.5 kB / 0.656 GB, free: 8.523 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002122/0.6512, allocations: 1.56 MB / 0.6575 GB, free: 6.953 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004973/0.6517, allocations: 210.5 kB / 0.6577 GB, free: 6.812 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 2.264e-06/0.6518, allocations: 3.938 kB / 0.6577 GB, free: 6.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.001341/0.6531, allocations: 0.6097 MB / 0.6583 GB, free: 6.441 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.6532, allocations: 56 kB / 0.6584 GB, free: 6.379 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.6535, allocations: 294.4 kB / 0.6586 GB, free: 6.184 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.6536, allocations: 29.7 kB / 0.6587 GB, free: 6.148 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.6538, allocations: 197 kB / 0.6589 GB, free: 5.969 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.6539, allocations: 126.5 kB / 0.659 GB, free: 5.859 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.6539, allocations: 6.5 kB / 0.659 GB, free: 5.855 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.6541, allocations: 344.6 kB / 0.6593 GB, free: 5.516 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.6544, allocations: 130.5 kB / 0.6594 GB, free: 5.449 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.6547, allocations: 182.7 kB / 0.6596 GB, free: 5.328 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.655, allocations: 163.9 kB / 0.6598 GB, free: 5.234 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.655, allocations: 0 / 0.6598 GB, free: 5.234 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008561/0.6559, allocations: 469 kB / 0.6602 GB, free: 4.977 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/0.6559, allocations: 31.64 kB / 0.6602 GB, free: 4.945 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.656, allocations: 5.844 kB / 0.6603 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002293/0.6562, allocations: 48.97 kB / 0.6603 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.6565, allocations: 79.95 kB / 0.6604 GB, free: 4.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.6579, allocations: 1.43 MB / 0.6618 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.6582, allocations: 47.89 kB / 0.6618 GB, free: 3.418 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.6582, allocations: 21.73 kB / 0.6618 GB, free: 3.41 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.0002184/0.6584, allocations: 152.3 kB / 0.662 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.6585, allocations: 35.16 kB / 0.662 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.6597, allocations: 0.5224 MB / 0.6625 GB, free: 2.934 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.6597, allocations: 3.312 kB / 0.6625 GB, free: 2.934 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.6597, allocations: 2.5 kB / 0.6625 GB, free: 2.934 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6597, allocations: 3.984 kB / 0.6625 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.6612, allocations: 0.9622 MB / 0.6635 GB, free: 2.184 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.6613, allocations: 2.906 kB / 0.6635 GB, free: 2.184 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.6615, allocations: 66.27 kB / 0.6635 GB, free: 2.164 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001466/0.6617, allocations: 47.53 kB / 0.6636 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.6617, allocations: 17.8 kB / 0.6636 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.6628, allocations: 1.417 MB / 0.665 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6628, allocations: 3.281 kB / 0.665 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.664, allocations: 0.6493 MB / 0.6656 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.6641, allocations: 117.3 kB / 0.6657 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.6641, allocations: 13.06 kB / 0.6658 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.6644, allocations: 26.8 kB / 0.6658 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.6645, allocations: 36.66 kB / 0.6658 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.6645, allocations: 11.94 kB / 0.6658 GB, free: 120 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002424/0.6648, allocations: 222.3 kB / 0.666 GB, free: 15.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6648, allocations: 0 / 0.666 GB, free: 15.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005973/0.6654, allocations: 164.8 kB / 0.6662 GB, free: 15.93 MB / 494.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.001683/0.6671, allocations: 1.322 MB / 0.6675 GB, free: 14.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009276/0.668, allocations: 0.494 MB / 0.668 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.668, allocations: 0 / 0.668 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.6685, allocations: 303.2 kB / 0.6683 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008011/0.6693, allocations: 125.6 kB / 0.6684 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.6731, allocations: 2.282 MB / 0.6706 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.6735, allocations: 0.7964 MB / 0.6714 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.6739, allocations: 78.67 kB / 0.6715 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.6741, allocations: 135.3 kB / 0.6716 GB, free: 11.44 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6741, allocations: 0 / 0.6716 GB, free: 11.44 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.6988, allocations: 11.06 MB / 0.6824 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.699, allocations: 228.3 kB / 0.6826 GB, free: 384 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/2.815, allocations: 3.938 kB / 0.6826 GB, free: 380 kB / 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