Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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.Boundaries.Tests.DynamicBoundaries,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_DynamicBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_DynamicBoundaries",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.001267/0.001266, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008716/0.0008716, allocations: 92.94 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7791/0.7791, allocations: 90.37 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.665e-05, allocations: 4 kB / 472.3 MB, free: 3.379 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3937, allocations: 66.26 MB / 0.5259 GB, free: 28.87 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.363/8.757, allocations: 3.553 GB / 4.079 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/8.757, allocations: 79.97 kB / 4.079 GB, free: 132.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.395/14.15, allocations: 1.48 GB / 5.559 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/14.15, allocations: 0 / 5.559 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002847/14.15, allocations: 73.98 kB / 5.559 GB, free: 27.78 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 602 * Number of variables: 602 Notification: Performance of Generate backend data structure: time 0.01981/14.17, allocations: 5.339 MB / 5.565 GB, free: 25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/14.17, allocations: 9.781 kB / 5.565 GB, free: 25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/14.18, allocations: 0.5768 MB / 5.565 GB, free: 24.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/14.18, allocations: 1.237 MB / 5.566 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/14.18, allocations: 72.78 kB / 5.566 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007819/14.18, allocations: 137.8 kB / 5.567 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004416/14.19, allocations: 1.715 MB / 5.568 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004625/14.19, allocations: 2.063 MB / 5.57 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.118e-05/14.19, allocations: 0 / 5.57 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/14.19, allocations: 3.516 kB / 5.57 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.138e-05/14.19, allocations: 66.39 kB / 5.57 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/14.2, allocations: 12.23 MB / 5.582 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/14.21, allocations: 1.661 MB / 5.584 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/14.21, allocations: 0.9629 MB / 5.585 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06487/14.27, allocations: 32.57 MB / 5.617 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.893e-05/14.27, allocations: 59.34 kB / 5.617 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=226): time 4.379e-06/14.27, allocations: 0 / 5.617 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of matching and sorting (n=226): time 0.009822/14.28, allocations: 2.93 MB / 5.619 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/14.28, allocations: 199.9 kB / 5.62 GB, free: 3.727 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/14.28, allocations: 0.7824 MB / 5.62 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002862/14.28, allocations: 29.7 kB / 5.62 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006829/14.29, allocations: 0.8805 MB / 5.621 GB, free: 2.012 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008975/14.29, allocations: 0.7272 MB / 5.622 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/14.29, allocations: 0 / 5.622 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001857/14.29, allocations: 381.9 kB / 5.622 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/14.29, allocations: 0.5781 MB / 5.623 GB, free: 324 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4818/14.77, allocations: 0.8148 MB / 5.624 GB, free: 61.68 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/14.77, allocations: 0.9997 MB / 5.625 GB, free: 61.68 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/14.77, allocations: 0.9375 kB / 5.625 GB, free: 61.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.00568/14.78, allocations: 2.331 MB / 5.627 GB, free: 61.57 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/14.78, allocations: 8.5 kB / 5.627 GB, free: 61.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/14.78, allocations: 6.438 kB / 5.627 GB, free: 61.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009389/14.78, allocations: 282.7 kB / 5.627 GB, free: 61.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/14.78, allocations: 366.2 kB / 5.628 GB, free: 61.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005719/14.79, allocations: 8.617 MB / 5.636 GB, free: 54.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/14.79, allocations: 160.7 kB / 5.636 GB, free: 54.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/14.79, allocations: 89.55 kB / 5.636 GB, free: 54.42 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow1.inlet.state.phase,dynamicPressureInflow.inlet.state.phase,dynamicPressureInflow2.inlet.state.phase,dynamicPressureInflow3.inlet.state.phase,dynamicPressureInflow4.inlet.state.phase,dynamicPressureInflow5.inlet.state.phase,dynamicPressureInflow5.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004035/14.79, allocations: 156.3 kB / 5.636 GB, free: 54.31 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005993/14.8, allocations: 2.208 MB / 5.639 GB, free: 54.09 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004628/14.8, allocations: 173.9 kB / 5.639 GB, free: 54 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/14.81, allocations: 6.083 MB / 5.645 GB, free: 53.44 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001071/14.81, allocations: 75.77 kB / 5.645 GB, free: 53.44 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.842e-05/14.81, allocations: 7.656 kB / 5.645 GB, free: 53.44 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.551e-05/14.81, allocations: 12.23 kB / 5.645 GB, free: 53.44 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02453/14.83, allocations: 9.076 MB / 5.654 GB, free: 52.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.788e-05/14.83, allocations: 4.156 kB / 5.654 GB, free: 52.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/14.84, allocations: 316.5 kB / 5.654 GB, free: 52.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/14.84, allocations: 304.3 kB / 5.654 GB, free: 52.41 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002925/14.84, allocations: 41.16 kB / 5.654 GB, free: 52.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008137/14.85, allocations: 8.621 MB / 5.663 GB, free: 45.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/14.85, allocations: 4.875 kB / 5.663 GB, free: 45.21 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/14.86, allocations: 5.816 MB / 5.668 GB, free: 44.03 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/14.86, allocations: 377.8 kB / 5.669 GB, free: 43.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007198/14.86, allocations: 11.55 kB / 5.669 GB, free: 43.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002928/14.87, allocations: 106.8 kB / 5.669 GB, free: 43.79 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000697/14.87, allocations: 176.5 kB / 5.669 GB, free: 43.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003425/14.87, allocations: 76.27 kB / 5.669 GB, free: 43.78 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001514/14.87, allocations: 0.571 MB / 5.67 GB, free: 43.67 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.91e-07/14.87, allocations: 0 / 5.67 GB, free: 43.67 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.009858/14.88, allocations: 1.751 MB / 5.671 GB, free: 43.54 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (dynamicPressureOutflow5.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow3.inlet.m_flow,dynamicPressureOutflow2.inlet.m_flow,dynamicPressureOutflow.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow) * Number of discrete variables: 42 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,dynamicPressureInflow5.inlet.state.phase,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,dynamicPressureInflow4.inlet.state.phase,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,dynamicPressureInflow3.inlet.state.phase,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,dynamicPressureInflow2.inlet.state.phase,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,dynamicPressureInflow.inlet.state.phase,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,dynamicPressureInflow1.inlet.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02287/14.9, allocations: 10.94 MB / 5.682 GB, free: 40.55 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005891/14.91, allocations: 3.099 MB / 5.685 GB, free: 39.69 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/14.91, allocations: 2.625 kB / 5.685 GB, free: 39.69 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003565/14.91, allocations: 2.597 MB / 5.688 GB, free: 38.82 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004515/14.92, allocations: 0.6443 MB / 5.688 GB, free: 38.81 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/14.93, allocations: 5.846 MB / 5.694 GB, free: 37.59 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/14.94, allocations: 1.897 MB / 5.696 GB, free: 36.85 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002287/14.94, allocations: 0.7213 MB / 5.697 GB, free: 36.83 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/14.94, allocations: 1.211 MB / 5.698 GB, free: 36.82 MB / 0.6667 GB Notification: Performance of SimCode: time 1.342e-06/14.94, allocations: 0 / 5.698 GB, free: 36.82 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/15.1, allocations: 94.2 MB / 5.79 GB, free: 30.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/15.1, allocations: 169.8 kB / 5.79 GB, free: 30.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.111/20.21, allocations: 0 / 5.79 GB, free: 30.3 MB / 0.6667 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_DynamicBoundaries_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_DynamicBoundaries.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat does not exist to compare? outputFormat=mat