Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",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.0009895/0.0009896, allocations: 86.88 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.001364/0.001364, 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.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7268/0.7268, allocations: 89.66 MB / 380.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 16.47 kB / 460.1 MB, free: 24.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 68.83 MB / 0.5166 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.4527/0.6428, allocations: 135.8 MB / 0.6492 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005995/0.6489, allocations: 4.29 MB / 0.6534 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008747/0.6498, allocations: 13.66 kB / 0.6534 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.6509, allocations: 230.5 kB / 0.6537 GB, free: 9.898 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.653, allocations: 0.5903 MB / 0.6542 GB, free: 9.414 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.6543, allocations: 359.8 kB / 0.6546 GB, free: 9.145 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.6556, allocations: 0.991 MB / 0.6555 GB, free: 8.559 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.656, allocations: 127.8 kB / 0.6557 GB, free: 8.484 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009725/0.657, allocations: 389 kB / 0.656 GB, free: 8.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000737/0.6577, allocations: 402.1 kB / 0.6564 GB, free: 8.055 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.6579, allocations: 23.09 kB / 0.6564 GB, free: 8.051 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.6595, allocations: 0.6212 MB / 0.657 GB, free: 7.773 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.6597, allocations: 80.23 kB / 0.6571 GB, free: 7.711 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.6599, allocations: 124.8 kB / 0.6572 GB, free: 7.633 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009795/0.6609, allocations: 0.551 MB / 0.6578 GB, free: 7.273 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6609, allocations: 0 / 0.6578 GB, free: 7.273 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.661, allocations: 0 / 0.6578 GB, free: 7.273 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.735e-05/0.661, allocations: 4 kB / 0.6578 GB, free: 7.27 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001536/0.6625, allocations: 0.7814 MB / 0.6585 GB, free: 6.605 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.6626, allocations: 10.91 kB / 0.6586 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.6627, allocations: 80.25 kB / 0.6586 GB, free: 6.531 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.6628, allocations: 54.88 kB / 0.6587 GB, free: 6.504 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.6634, allocations: 357.1 kB / 0.659 GB, free: 6.164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.6634, allocations: 44.45 kB / 0.6591 GB, free: 6.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.6635, allocations: 39.06 kB / 0.6591 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007933/0.6643, allocations: 0.5036 MB / 0.6596 GB, free: 5.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.6643, allocations: 0 / 0.6596 GB, free: 5.797 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.6644, allocations: 22.89 kB / 0.6596 GB, free: 5.777 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.6644, allocations: 14.88 kB / 0.6596 GB, free: 5.773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006691/0.6651, allocations: 484.8 kB / 0.6601 GB, free: 5.547 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.6676, allocations: 2.154 MB / 0.6622 GB, free: 3.559 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.6683, allocations: 365.5 kB / 0.6625 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.6687, allocations: 207.6 kB / 0.6627 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002479/0.6712, allocations: 2.024 MB / 0.6647 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.6712, allocations: 38.94 kB / 0.6648 GB, free: 1.168 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.364e-06/0.6712, allocations: 1.781 kB / 0.6648 GB, free: 1.168 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.001506/0.6727, allocations: 0.7833 MB / 0.6655 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.6728, allocations: 58.8 kB / 0.6656 GB, free: 0.582 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/0.6732, allocations: 372.3 kB / 0.6659 GB, free: 360 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.6732, allocations: 35.95 kB / 0.666 GB, free: 320 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.6734, allocations: 216.6 kB / 0.6662 GB, free: 120 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.6735, allocations: 167.1 kB / 0.6663 GB, free: 15.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.6736, allocations: 4 kB / 0.6663 GB, free: 15.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6737, allocations: 357.7 kB / 0.6667 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.674, allocations: 126.7 kB / 0.6668 GB, free: 15.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.6743, allocations: 187.3 kB / 0.667 GB, free: 15.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.6745, allocations: 154.7 kB / 0.6671 GB, free: 15.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6746, allocations: 2.938 kB / 0.6671 GB, free: 15.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008612/0.6754, allocations: 499.3 kB / 0.6676 GB, free: 15.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.6755, allocations: 8.969 kB / 0.6676 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.6755, allocations: 2.938 kB / 0.6676 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.6758, allocations: 61.2 kB / 0.6677 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.6761, allocations: 96.33 kB / 0.6678 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.6783, allocations: 2.712 MB / 0.6704 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.6786, allocations: 45.41 kB / 0.6705 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.6787, allocations: 21.02 kB / 0.6705 GB, free: 12.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 47 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.6789, allocations: 165.5 kB / 0.6706 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.679, allocations: 49.2 kB / 0.6707 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.6802, allocations: 0.7127 MB / 0.6714 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6802, allocations: 5.406 kB / 0.6714 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.6802, allocations: 2.5 kB / 0.6714 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.6802, allocations: 3.984 kB / 0.6714 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.6821, allocations: 1.155 MB / 0.6725 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.6821, allocations: 4.031 kB / 0.6725 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.6824, allocations: 83.83 kB / 0.6726 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/0.6826, allocations: 65.59 kB / 0.6727 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.6826, allocations: 16 kB / 0.6727 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.6849, allocations: 2.725 MB / 0.6753 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6849, allocations: 4.031 kB / 0.6753 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.6861, allocations: 0.752 MB / 0.6761 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.6863, allocations: 140.4 kB / 0.6762 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.6864, allocations: 12 kB / 0.6762 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.6866, allocations: 20.06 kB / 0.6762 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.6867, allocations: 31.95 kB / 0.6763 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.6867, allocations: 19.98 kB / 0.6763 GB, free: 6.402 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003398/0.6871, allocations: 287.1 kB / 0.6766 GB, free: 6.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6871, allocations: 0 / 0.6766 GB, free: 6.125 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007128/0.6878, allocations: 199.7 kB / 0.6768 GB, free: 5.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (43): * Single equations (assignments): 41 * 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: 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.001717/0.6895, allocations: 1.46 MB / 0.6782 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009635/0.6905, allocations: 0.5888 MB / 0.6788 GB, free: 3.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6905, allocations: 3.938 kB / 0.6788 GB, free: 3.816 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005639/0.6911, allocations: 433.1 kB / 0.6792 GB, free: 3.367 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009536/0.6921, allocations: 164.6 kB / 0.6793 GB, free: 3.207 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.6969, allocations: 2.885 MB / 0.6822 GB, free: 252 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.6974, allocations: 0.8434 MB / 0.683 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003734/0.6978, allocations: 100.1 kB / 0.6831 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.698, allocations: 183.4 kB / 0.6832 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.698, allocations: 0 / 0.6832 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.729, allocations: 14.24 MB / 0.6972 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.7292, allocations: 232.2 kB / 0.6974 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.88, allocations: 0 / 0.6974 GB, free: 0.9453 MB / 0.4981 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat does not exist to compare? outputFormat=mat