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.001011/0.001011, allocations: 100.1 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.000952/0.000952, allocations: 177.3 kB / 15.95 MB, free: 216 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.377/1.377, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6866/0.6866, allocations: 89.64 MB / 380.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004006, allocations: 14.5 kB / 460 MB, free: 24.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 68.83 MB / 0.5165 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.4239/0.5605, allocations: 126.7 MB / 0.6402 GB, free: 4.176 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005/0.5655, allocations: 3.848 MB / 0.644 GB, free: 1.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004273/0.566, allocations: 15.03 kB / 0.644 GB, free: 1.082 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007013/0.5667, allocations: 225.8 kB / 0.6442 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.568, allocations: 0.6038 MB / 0.6448 GB, free: 388 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009051/0.569, allocations: 373.2 kB / 0.6452 GB, free: 92 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007161/0.5697, allocations: 0.5805 MB / 0.6457 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.5699, allocations: 125.5 kB / 0.6459 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006747/0.5706, allocations: 361.7 kB / 0.6462 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004066/0.571, allocations: 329.1 kB / 0.6465 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.5711, allocations: 20.84 kB / 0.6465 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.5724, allocations: 0.6698 MB / 0.6472 GB, free: 14.99 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.5725, allocations: 70.77 kB / 0.6473 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.498e-05/0.5726, allocations: 126 kB / 0.6474 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000634/0.5732, allocations: 0.5535 MB / 0.6479 GB, free: 14.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.5732, allocations: 0 / 0.6479 GB, free: 14.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5732, allocations: 3.125 kB / 0.6479 GB, free: 14.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.5732, allocations: 0 / 0.6479 GB, free: 14.5 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.001343/0.5746, allocations: 0.7706 MB / 0.6487 GB, free: 13.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5746, allocations: 9.875 kB / 0.6487 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.761e-05/0.5748, allocations: 83.84 kB / 0.6488 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.663e-05/0.5748, allocations: 57.97 kB / 0.6488 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.5754, allocations: 364.5 kB / 0.6492 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.5754, allocations: 31.72 kB / 0.6492 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/0.5755, allocations: 54.19 kB / 0.6493 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/0.5762, allocations: 0.4967 MB / 0.6497 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5763, allocations: 2.875 kB / 0.6497 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.5763, allocations: 18.83 kB / 0.6498 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.5763, allocations: 10.19 kB / 0.6498 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/0.577, allocations: 488 kB / 0.6502 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.5796, allocations: 2.207 MB / 0.6524 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/0.5803, allocations: 368.2 kB / 0.6527 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002616/0.5829, allocations: 2.066 MB / 0.6548 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.583, allocations: 44.83 kB / 0.6548 GB, free: 8.395 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 1.803e-06/0.583, allocations: 0 / 0.6548 GB, free: 8.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.001495/0.5845, allocations: 0.7825 MB / 0.6556 GB, free: 7.879 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.5845, allocations: 60.66 kB / 0.6556 GB, free: 7.809 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.5849, allocations: 365.7 kB / 0.656 GB, free: 7.582 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.585, allocations: 40.75 kB / 0.656 GB, free: 7.539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.5851, allocations: 219.9 kB / 0.6562 GB, free: 7.344 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.5853, allocations: 159.3 kB / 0.6564 GB, free: 7.203 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.5853, allocations: 10.81 kB / 0.6564 GB, free: 7.195 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.5855, allocations: 357 kB / 0.6567 GB, free: 6.848 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.5857, allocations: 126.5 kB / 0.6568 GB, free: 6.789 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.586, allocations: 186.3 kB / 0.657 GB, free: 6.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.5863, allocations: 153.4 kB / 0.6572 GB, free: 6.594 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.5863, allocations: 1.781 kB / 0.6572 GB, free: 6.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008559/0.5872, allocations: 0.4883 MB / 0.6576 GB, free: 6.324 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5872, allocations: 4.906 kB / 0.6576 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5872, allocations: 6.875 kB / 0.6577 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.5875, allocations: 61.33 kB / 0.6577 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.5878, allocations: 94.14 kB / 0.6578 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.5902, allocations: 2.725 MB / 0.6605 GB, free: 3.465 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/0.5905, allocations: 44.86 kB / 0.6605 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.5906, allocations: 22.78 kB / 0.6605 GB, free: 3.426 MB / 478.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.0002201/0.5908, allocations: 165 kB / 0.6607 GB, free: 3.273 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/0.5909, allocations: 54.8 kB / 0.6607 GB, free: 3.242 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.5922, allocations: 0.7185 MB / 0.6614 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5922, allocations: 9.875 kB / 0.6615 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5922, allocations: 0 / 0.6615 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5923, allocations: 0 / 0.6615 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.5942, allocations: 1.192 MB / 0.6626 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5942, allocations: 0 / 0.6626 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.5945, allocations: 75.47 kB / 0.6627 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002267/0.5947, allocations: 68.12 kB / 0.6628 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.5947, allocations: 19.23 kB / 0.6628 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/0.597, allocations: 2.73 MB / 0.6654 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5971, allocations: 4.125 kB / 0.6654 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.5983, allocations: 0.8006 MB / 0.6662 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.5985, allocations: 144.4 kB / 0.6664 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.5986, allocations: 10.53 kB / 0.6664 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.5988, allocations: 19.67 kB / 0.6664 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.5989, allocations: 41.31 kB / 0.6664 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.599, allocations: 17.2 kB / 0.6664 GB, free: 14.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003065/0.5993, allocations: 284.6 kB / 0.6667 GB, free: 14.08 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5993, allocations: 0 / 0.6667 GB, free: 14.08 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007212/0.6, allocations: 197.2 kB / 0.6669 GB, free: 14.03 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.002056/0.6021, allocations: 1.782 MB / 0.6686 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.6031, allocations: 0.5925 MB / 0.6692 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6031, allocations: 0 / 0.6692 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.6037, allocations: 437.6 kB / 0.6696 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.6046, allocations: 158.2 kB / 0.6698 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.6093, allocations: 3.482 MB / 0.6732 GB, free: 7.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.6099, allocations: 0.8472 MB / 0.674 GB, free: 6.898 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000388/0.6102, allocations: 106.2 kB / 0.6741 GB, free: 6.805 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.6105, allocations: 183.4 kB / 0.6743 GB, free: 6.625 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6105, allocations: 0 / 0.6743 GB, free: 6.625 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.6413, allocations: 14.15 MB / 0.6881 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.6416, allocations: 221.6 kB / 0.6883 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.705, allocations: 0 / 0.6883 GB, free: 8.535 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