Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005088/0.005088, allocations: 168.3 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007265/0.0007265, allocations: 90.25 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7636/0.7636, allocations: 90.6 MB / 408.5 MB, free: 14.97 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000421/0.0004214, allocations: 8 kB / 485.4 MB, free: 1.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3779, allocations: 66.27 MB / 0.5387 GB, free: 45.59 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1528/0.5308, allocations: 131.9 MB / 0.6675 GB, free: 7.676 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.5348, allocations: 3.077 MB / 0.6705 GB, free: 4.594 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002806/0.5351, allocations: 7.938 kB / 0.6705 GB, free: 4.586 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005365/0.5357, allocations: 163 kB / 0.6707 GB, free: 4.426 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00093/0.5366, allocations: 469.4 kB / 0.6711 GB, free: 3.965 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007574/0.5374, allocations: 271.1 kB / 0.6714 GB, free: 3.699 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007066/0.5381, allocations: 0.8053 MB / 0.6722 GB, free: 2.891 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.5383, allocations: 92.31 kB / 0.6723 GB, free: 2.805 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.5388, allocations: 278.8 kB / 0.6725 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004215/0.5392, allocations: 326.8 kB / 0.6729 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.5393, allocations: 20 kB / 0.6729 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009452/0.5402, allocations: 0.5107 MB / 0.6734 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.5403, allocations: 63.67 kB / 0.6734 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.466e-05/0.5404, allocations: 101.5 kB / 0.6735 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.541, allocations: 474.8 kB / 0.674 GB, free: 1.047 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.541, allocations: 4 kB / 0.674 GB, free: 1.043 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.541, allocations: 0 / 0.674 GB, free: 1.043 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.541, allocations: 0 / 0.674 GB, free: 1.043 MB / 490.7 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.001329/0.5423, allocations: 0.7163 MB / 0.6747 GB, free: 284 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5424, allocations: 12.03 kB / 0.6747 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.196e-05/0.5425, allocations: 74.48 kB / 0.6748 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.449e-05/0.5426, allocations: 47.44 kB / 0.6748 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.543, allocations: 310.2 kB / 0.6751 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.543, allocations: 20.66 kB / 0.6751 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/0.5431, allocations: 36 kB / 0.6752 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006903/0.5438, allocations: 413.7 kB / 0.6756 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.5438, allocations: 4 kB / 0.6756 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.5439, allocations: 12 kB / 0.6756 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.5439, allocations: 19.94 kB / 0.6756 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006917/0.5446, allocations: 382.4 kB / 0.676 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.5467, allocations: 1.852 MB / 0.6778 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000869/0.5476, allocations: 431.4 kB / 0.6782 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.5479, allocations: 206.6 kB / 0.6784 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001978/0.5499, allocations: 1.602 MB / 0.6799 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000496/0.5504, allocations: 240.2 kB / 0.6802 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 2.495e-06/0.5504, allocations: 0 / 0.6802 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.001489/0.5519, allocations: 0.66 MB / 0.6808 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.552, allocations: 59.39 kB / 0.6809 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.5523, allocations: 275 kB / 0.6811 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.5524, allocations: 29.7 kB / 0.6812 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.5526, allocations: 197.3 kB / 0.6813 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.5527, allocations: 141.9 kB / 0.6815 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.5527, allocations: 8 kB / 0.6815 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.553, allocations: 342.8 kB / 0.6818 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.5533, allocations: 140.8 kB / 0.682 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.5537, allocations: 205.4 kB / 0.6821 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.554, allocations: 187.2 kB / 0.6823 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.554, allocations: 0 / 0.6823 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000905/0.5549, allocations: 0.5012 MB / 0.6828 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.555, allocations: 37.66 kB / 0.6829 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.555, allocations: 1.406 kB / 0.6829 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.5553, allocations: 44.83 kB / 0.6829 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.5556, allocations: 75.98 kB / 0.683 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.5568, allocations: 1.422 MB / 0.6844 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.5571, allocations: 47.64 kB / 0.6844 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.5571, allocations: 16.55 kB / 0.6844 GB, free: 5.566 MB / 0.4948 GB 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.0001762/0.5573, allocations: 153.9 kB / 0.6846 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.5574, allocations: 39.56 kB / 0.6846 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.5585, allocations: 0.5501 MB / 0.6851 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.5585, allocations: 4 kB / 0.6851 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5585, allocations: 0 / 0.6851 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.5585, allocations: 0 / 0.6851 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.5602, allocations: 1.064 MB / 0.6862 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.5602, allocations: 4 kB / 0.6862 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.5605, allocations: 71.89 kB / 0.6863 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.5606, allocations: 44.86 kB / 0.6863 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.5607, allocations: 16.67 kB / 0.6863 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.5618, allocations: 1.422 MB / 0.6877 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5618, allocations: 0.75 kB / 0.6877 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.5631, allocations: 0.75 MB / 0.6884 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.5632, allocations: 116.7 kB / 0.6885 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.5632, allocations: 8 kB / 0.6886 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.5635, allocations: 31.95 kB / 0.6886 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.5636, allocations: 43.92 kB / 0.6886 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.5636, allocations: 17.83 kB / 0.6886 GB, free: 1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001786/0.5638, allocations: 190 kB / 0.6888 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5638, allocations: 1.969 kB / 0.6888 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005663/0.5644, allocations: 171.8 kB / 0.689 GB, free: 0.6484 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00187/0.5663, allocations: 1.419 MB / 0.6904 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.5674, allocations: 0.5528 MB / 0.6909 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5674, allocations: 7.938 kB / 0.6909 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005218/0.5679, allocations: 342.8 kB / 0.6913 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007001/0.5686, allocations: 110.3 kB / 0.6914 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.5721, allocations: 2.286 MB / 0.6936 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.5725, allocations: 0.7963 MB / 0.6944 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002937/0.5728, allocations: 77.67 kB / 0.6944 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.573, allocations: 141.5 kB / 0.6946 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.573, allocations: 0 / 0.6946 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.5985, allocations: 11.35 MB / 0.7057 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.5988, allocations: 236.3 kB / 0.7059 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.839, allocations: 0 / 0.7059 GB, free: 15.52 MB / 0.5261 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat does not exist to compare? outputFormat=mat