Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",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.009916/0.009916, allocations: 170.7 kB / 15.12 MB, free: 5.559 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.584/1.584, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.001126/0.001126, allocations: 90.91 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.8056/0.8056, allocations: 90.6 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004481, allocations: 8 kB / 485.3 MB, free: 1.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.435, allocations: 66.28 MB / 0.5387 GB, free: 45.69 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1574/0.5924, allocations: 126.8 MB / 0.6625 GB, free: 12.88 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005278/0.5977, allocations: 3.853 MB / 0.6662 GB, free: 9.023 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004134/0.5982, allocations: 7.938 kB / 0.6662 GB, free: 9.016 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.5989, allocations: 230.9 kB / 0.6665 GB, free: 8.789 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.6003, allocations: 0.623 MB / 0.6671 GB, free: 8.164 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008821/0.6012, allocations: 363.1 kB / 0.6674 GB, free: 7.809 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006175/0.6018, allocations: 0.573 MB / 0.668 GB, free: 7.234 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.602, allocations: 120.2 kB / 0.6681 GB, free: 7.125 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007335/0.6028, allocations: 374.7 kB / 0.6684 GB, free: 6.758 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004499/0.6032, allocations: 342.8 kB / 0.6688 GB, free: 6.422 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.6033, allocations: 20 kB / 0.6688 GB, free: 6.402 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.6047, allocations: 0.749 MB / 0.6695 GB, free: 5.652 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.246e-05/0.6048, allocations: 87.59 kB / 0.6696 GB, free: 5.566 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.6049, allocations: 125.5 kB / 0.6697 GB, free: 5.438 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007076/0.6056, allocations: 0.585 MB / 0.6703 GB, free: 4.859 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6056, allocations: 0 / 0.6703 GB, free: 4.859 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6056, allocations: 0 / 0.6703 GB, free: 4.859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.6056, allocations: 4 kB / 0.6703 GB, free: 4.855 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001327/0.6069, allocations: 0.8031 MB / 0.6711 GB, free: 4.008 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.607, allocations: 8.031 kB / 0.6711 GB, free: 4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.806e-05/0.6071, allocations: 79.08 kB / 0.6712 GB, free: 3.914 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.6072, allocations: 59.34 kB / 0.6712 GB, free: 3.855 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.6077, allocations: 358.7 kB / 0.6716 GB, free: 3.465 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.6077, allocations: 33 kB / 0.6716 GB, free: 3.434 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.6078, allocations: 43.98 kB / 0.6716 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007563/0.6085, allocations: 456.5 kB / 0.6721 GB, free: 2.941 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.6086, allocations: 0.75 kB / 0.6721 GB, free: 2.941 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.6086, allocations: 20 kB / 0.6721 GB, free: 2.922 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.6086, allocations: 8 kB / 0.6721 GB, free: 2.914 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007649/0.6094, allocations: 495.8 kB / 0.6726 GB, free: 2.426 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.612, allocations: 2.204 MB / 0.6747 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.6129, allocations: 0.539 MB / 0.6753 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009582/0.6139, allocations: 0.6044 MB / 0.6758 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.6139, allocations: 43.12 kB / 0.6759 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=59): time 2.194e-06/0.6139, allocations: 0 / 0.6759 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59): time 0.002051/0.616, allocations: 1.299 MB / 0.6772 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.6161, allocations: 55.97 kB / 0.6772 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.6164, allocations: 325.7 kB / 0.6775 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.6164, allocations: 33.7 kB / 0.6776 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.6166, allocations: 212.7 kB / 0.6778 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.6168, allocations: 201 kB / 0.6779 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.6168, allocations: 12 kB / 0.678 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.617, allocations: 358.7 kB / 0.6783 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.6173, allocations: 193 kB / 0.6785 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.6176, allocations: 189 kB / 0.6787 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.618, allocations: 214.2 kB / 0.6789 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.618, allocations: 0 / 0.6789 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001119/0.6191, allocations: 0.5953 MB / 0.6794 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.6192, allocations: 7.953 kB / 0.6795 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.6192, allocations: 0 / 0.6795 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/0.6195, allocations: 69.61 kB / 0.6795 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.6198, allocations: 91.88 kB / 0.6796 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.6225, allocations: 2.727 MB / 0.6823 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.6228, allocations: 43.75 kB / 0.6823 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.6228, allocations: 19.98 kB / 0.6823 GB, free: 7.609 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002678/0.6231, allocations: 169.5 kB / 0.6825 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.6232, allocations: 49.27 kB / 0.6825 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.6249, allocations: 0.781 MB / 0.6833 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.6249, allocations: 6.625 kB / 0.6833 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6249, allocations: 7.953 kB / 0.6833 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.6249, allocations: 3.984 kB / 0.6833 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.6272, allocations: 1.47 MB / 0.6848 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6272, allocations: 4 kB / 0.6848 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.6275, allocations: 91.89 kB / 0.6849 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.6277, allocations: 73.7 kB / 0.6849 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/0.6278, allocations: 19.98 kB / 0.6849 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.6299, allocations: 2.743 MB / 0.6876 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.6299, allocations: 7.156 kB / 0.6876 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.6314, allocations: 1.057 MB / 0.6887 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.6316, allocations: 132.3 kB / 0.6888 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.6316, allocations: 12 kB / 0.6888 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.6319, allocations: 24 kB / 0.6888 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.632, allocations: 56.38 kB / 0.6889 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.632, allocations: 23.98 kB / 0.6889 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002252/0.6323, allocations: 235.2 kB / 0.6891 GB, free: 280 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.733e-06/0.6323, allocations: 0 / 0.6891 GB, free: 280 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006636/0.6329, allocations: 215.6 kB / 0.6893 GB, free: 64 kB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002321/0.6353, allocations: 1.924 MB / 0.6912 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.6365, allocations: 0.8049 MB / 0.692 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6365, allocations: 4 kB / 0.692 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000753/0.6373, allocations: 0.5976 MB / 0.6926 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/0.6382, allocations: 149.9 kB / 0.6927 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.6426, allocations: 2.976 MB / 0.6956 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.6431, allocations: 0.8636 MB / 0.6965 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003557/0.6434, allocations: 105.5 kB / 0.6966 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.6437, allocations: 199.4 kB / 0.6968 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/0.6437, allocations: 3.938 kB / 0.6968 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.6774, allocations: 15.46 MB / 0.7119 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.6776, allocations: 236.9 kB / 0.7121 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/3.228, allocations: 3.234 kB / 0.7121 GB, free: 8.887 MB / 0.5261 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat does not exist to compare? outputFormat=mat