Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 105.8 kB / 16.4 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 242.1 MB, free: 15.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 190.5 kB / 294.4 MB, free: 12.7 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04356/0.04356, allocations: 8.793 MB / 355.4 MB, free: 15.93 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003711/0.003712, allocations: 83.88 kB / 472.1 MB, free: 6.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2675, allocations: 51.56 MB / 0.5114 GB, free: 12.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002309/0.2699, allocations: 1.252 MB / 0.5126 GB, free: 11.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.2718, allocations: 1.152 MB / 0.5138 GB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.2719, allocations: 0 / 0.5138 GB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.2723, allocations: 79.95 kB / 0.5138 GB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009648/0.2733, allocations: 399.8 kB / 0.5142 GB, free: 10.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.744e-06/0.2733, allocations: 0 / 0.5142 GB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.2747, allocations: 0.7649 MB / 0.515 GB, free: 9.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.2747, allocations: 4 kB / 0.515 GB, free: 9.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.725e-05/0.2748, allocations: 11.92 kB / 0.515 GB, free: 9.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.2748, allocations: 15.92 kB / 0.515 GB, free: 9.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.2748, allocations: 7.938 kB / 0.515 GB, free: 9.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.275, allocations: 43.92 kB / 0.515 GB, free: 9.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.947e-05/0.2751, allocations: 15.98 kB / 0.5151 GB, free: 9.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.2751, allocations: 27.78 kB / 0.5151 GB, free: 9.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.2753, allocations: 67.7 kB / 0.5151 GB, free: 9.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2753, allocations: 0 / 0.5151 GB, free: 9.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2753, allocations: 0 / 0.5151 GB, free: 9.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2753, allocations: 0 / 0.5151 GB, free: 9.348 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004284/0.2758, allocations: 390.8 kB / 0.5155 GB, free: 8.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2758, allocations: 15.97 kB / 0.5155 GB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.188e-05/0.2759, allocations: 106 kB / 0.5156 GB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004276/0.2763, allocations: 112.1 kB / 0.5157 GB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.2768, allocations: 351.3 kB / 0.5161 GB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-05/0.2769, allocations: 150.9 kB / 0.5162 GB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.277, allocations: 150.9 kB / 0.5164 GB, free: 8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.293e-05/0.277, allocations: 121.1 kB / 0.5165 GB, free: 7.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.2771, allocations: 79.28 kB / 0.5166 GB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.2772, allocations: 150.6 kB / 0.5167 GB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.557e-05/0.2772, allocations: 154.5 kB / 0.5168 GB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.79e-05/0.2773, allocations: 150.6 kB / 0.517 GB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.2776, allocations: 461.9 kB / 0.5174 GB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.2777, allocations: 169.1 kB / 0.5176 GB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.2778, allocations: 88.17 kB / 0.5177 GB, free: 6.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.2778, allocations: 75.28 kB / 0.5177 GB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.2779, allocations: 125.7 kB / 0.5179 GB, free: 6.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.2779, allocations: 0 / 0.5179 GB, free: 6.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.922e-05/0.278, allocations: 37.61 kB / 0.5179 GB, free: 6.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.2781, allocations: 126.7 kB / 0.518 GB, free: 6.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.2782, allocations: 158.2 kB / 0.5182 GB, free: 6.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.2782, allocations: 25.7 kB / 0.5182 GB, free: 6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.2783, allocations: 100.1 kB / 0.5183 GB, free: 5.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/0.2783, allocations: 0 / 0.5183 GB, free: 5.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.2783, allocations: 13.72 kB / 0.5183 GB, free: 5.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2785, allocations: 322.8 kB / 0.5186 GB, free: 5.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-06/0.2785, allocations: 0 / 0.5186 GB, free: 5.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-06/0.2785, allocations: 0 / 0.5186 GB, free: 5.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/0.2785, allocations: 79.22 kB / 0.5187 GB, free: 5.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.041e-05/0.2786, allocations: 75.28 kB / 0.5188 GB, free: 5.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.492e-05/0.2787, allocations: 41.59 kB / 0.5188 GB, free: 5.355 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.2787, allocations: 79.28 kB / 0.5189 GB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/0.2788, allocations: 79.28 kB / 0.519 GB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.487e-05/0.2788, allocations: 162.5 kB / 0.5191 GB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.175e-05/0.2789, allocations: 79.28 kB / 0.5192 GB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.338e-05/0.2789, allocations: 154.5 kB / 0.5193 GB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.279, allocations: 75.28 kB / 0.5194 GB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.2791, allocations: 75.28 kB / 0.5195 GB, free: 4.66 MB / 334.1 MB 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.2792, allocations: 280.3 kB / 0.5197 GB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.2793, allocations: 116.8 kB / 0.5199 GB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.2794, allocations: 116.8 kB / 0.52 GB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.058e-05/0.2794, allocations: 180.2 kB / 0.5201 GB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.949e-05/0.2795, allocations: 180.3 kB / 0.5203 GB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.742e-05/0.2796, allocations: 184.2 kB / 0.5205 GB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.2799, allocations: 433.1 kB / 0.5209 GB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.326e-05/0.28, allocations: 101 kB / 0.521 GB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.28, allocations: 108.9 kB / 0.5211 GB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-05/0.2801, allocations: 176.3 kB / 0.5213 GB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.62e-05/0.2802, allocations: 192.2 kB / 0.5214 GB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.35e-05/0.2803, allocations: 180.2 kB / 0.5216 GB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.195e-05/0.2803, allocations: 176.3 kB / 0.5218 GB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.2805, allocations: 311.7 kB / 0.5221 GB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2806, allocations: 197.8 kB / 0.5223 GB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/0.2807, allocations: 184.3 kB / 0.5225 GB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.2808, allocations: 101 kB / 0.5225 GB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.2809, allocations: 180.2 kB / 0.5227 GB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.281, allocations: 105 kB / 0.5228 GB, free: 1.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.2811, allocations: 128.1 kB / 0.5229 GB, free: 0.8789 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2811, allocations: 0 / 0.5229 GB, free: 0.8789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.2814, allocations: 0 / 0.5229 GB, free: 0.8789 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004803/0.2818, allocations: 0.8208 MB / 0.5237 GB, free: 32 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.121e-05/0.2819, allocations: 0 / 0.5237 GB, free: 32 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2819, allocations: 0 / 0.5237 GB, free: 32 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.2819, allocations: 8 kB / 0.5238 GB, free: 24 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.2824, allocations: 467.7 kB / 0.5242 GB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.2839, allocations: 1.795 MB / 0.5259 GB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.2843, allocations: 0.7002 MB / 0.5266 GB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.871e-05/0.2843, allocations: 7.984 kB / 0.5266 GB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.2844, allocations: 27.42 kB / 0.5267 GB, free: 12.93 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2844, allocations: 0 / 0.5267 GB, free: 12.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.3077, allocations: 1.784 MB / 0.5284 GB, free: 11.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.248, allocations: 10.59 kB / 0.5284 GB, free: 11.22 MB / 350.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.926038458012044] Failed to read output from testmodel.py, exit status != 0: 8.31364886998199 8.327611742 8.0496003 Calling exit ...