Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.001254/0.001254, 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.431/1.431, 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.001492/0.001492, allocations: 188.3 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.04209/0.04209, allocations: 8.799 MB / 355.4 MB, free: 15.95 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.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 87.86 kB / 472.1 MB, free: 6.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2905, allocations: 51.56 MB / 0.5114 GB, free: 12.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002886/0.2935, allocations: 1.249 MB / 0.5126 GB, free: 11.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.2956, allocations: 1.152 MB / 0.5138 GB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.2957, allocations: 0 / 0.5138 GB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.2961, allocations: 83.48 kB / 0.5138 GB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.2972, allocations: 393.5 kB / 0.5142 GB, free: 10.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.532e-06/0.2972, allocations: 0 / 0.5142 GB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.2988, allocations: 0.9624 MB / 0.5151 GB, free: 9.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.2989, allocations: 4 kB / 0.5152 GB, free: 9.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.2989, allocations: 11.94 kB / 0.5152 GB, free: 9.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.299, allocations: 19.8 kB / 0.5152 GB, free: 9.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.299, allocations: 3.938 kB / 0.5152 GB, free: 9.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.2992, allocations: 47.97 kB / 0.5152 GB, free: 9.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.2992, allocations: 11.98 kB / 0.5152 GB, free: 9.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.2993, allocations: 19.81 kB / 0.5153 GB, free: 9.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.2995, allocations: 83.61 kB / 0.5153 GB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.2995, allocations: 0 / 0.5153 GB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2995, allocations: 0 / 0.5153 GB, free: 9.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.2995, allocations: 0 / 0.5153 GB, free: 9.145 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.0004586/0.3, allocations: 390.9 kB / 0.5157 GB, free: 8.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3001, allocations: 12.03 kB / 0.5157 GB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.062e-05/0.3001, allocations: 113.9 kB / 0.5158 GB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/0.3005, allocations: 108.1 kB / 0.5159 GB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.301, allocations: 360 kB / 0.5163 GB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/0.3011, allocations: 150.9 kB / 0.5164 GB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/0.3012, allocations: 150.9 kB / 0.5166 GB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.988e-05/0.3013, allocations: 113 kB / 0.5167 GB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.3014, allocations: 79.28 kB / 0.5168 GB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/0.3014, allocations: 150.6 kB / 0.5169 GB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/0.3015, allocations: 154.5 kB / 0.517 GB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.3016, allocations: 154.6 kB / 0.5172 GB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.3019, allocations: 465.9 kB / 0.5176 GB, free: 6.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3021, allocations: 173.1 kB / 0.5178 GB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.3021, allocations: 80.14 kB / 0.5179 GB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.3021, allocations: 75.28 kB / 0.5179 GB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.547e-05/0.3022, allocations: 113.8 kB / 0.5181 GB, free: 6.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3022, allocations: 0 / 0.5181 GB, free: 6.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.572e-05/0.3023, allocations: 37.66 kB / 0.5181 GB, free: 6.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.3024, allocations: 130.7 kB / 0.5182 GB, free: 5.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.3026, allocations: 172 kB / 0.5184 GB, free: 5.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3026, allocations: 25.7 kB / 0.5184 GB, free: 5.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.3027, allocations: 104.1 kB / 0.5185 GB, free: 5.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.3027, allocations: 0 / 0.5185 GB, free: 5.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.3027, allocations: 13.72 kB / 0.5185 GB, free: 5.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3029, allocations: 314.8 kB / 0.5188 GB, free: 5.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-06/0.3029, allocations: 4 kB / 0.5188 GB, free: 5.336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.3029, allocations: 4 kB / 0.5188 GB, free: 5.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.3029, allocations: 75.28 kB / 0.5189 GB, free: 5.258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.109e-05/0.3029, allocations: 79.27 kB / 0.519 GB, free: 5.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.064e-05/0.303, allocations: 37.59 kB / 0.519 GB, free: 5.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.3031, allocations: 81.31 kB / 0.5191 GB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.3031, allocations: 83.22 kB / 0.5192 GB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.731e-05/0.3032, allocations: 154.6 kB / 0.5193 GB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.339e-05/0.3032, allocations: 87.09 kB / 0.5194 GB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.311e-05/0.3033, allocations: 158.5 kB / 0.5195 GB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.3034, allocations: 83.33 kB / 0.5196 GB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.3034, allocations: 87.2 kB / 0.5197 GB, free: 4.414 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.0001562/0.3036, allocations: 280.3 kB / 0.52 GB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.3037, allocations: 120.8 kB / 0.5201 GB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.364e-05/0.3037, allocations: 113.5 kB / 0.5202 GB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.327e-05/0.3038, allocations: 176.3 kB / 0.5204 GB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.039e-05/0.3039, allocations: 184.2 kB / 0.5205 GB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.129e-05/0.304, allocations: 184.2 kB / 0.5207 GB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.3043, allocations: 425.2 kB / 0.5211 GB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-05/0.3043, allocations: 104.9 kB / 0.5212 GB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.3044, allocations: 104.9 kB / 0.5213 GB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.239e-05/0.3045, allocations: 176.3 kB / 0.5215 GB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.02e-05/0.3045, allocations: 184.2 kB / 0.5217 GB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.588e-05/0.3046, allocations: 176.3 kB / 0.5218 GB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-05/0.3047, allocations: 192.2 kB / 0.522 GB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3049, allocations: 303.8 kB / 0.5223 GB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.286e-05/0.305, allocations: 189.9 kB / 0.5225 GB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.3051, allocations: 192.2 kB / 0.5227 GB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.3052, allocations: 108.9 kB / 0.5228 GB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.3052, allocations: 176.3 kB / 0.5229 GB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.3053, allocations: 101 kB / 0.523 GB, free: 0.7695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.3054, allocations: 131.9 kB / 0.5232 GB, free: 0.6406 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3054, allocations: 0 / 0.5232 GB, free: 0.6406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.3057, allocations: 4 kB / 0.5232 GB, free: 0.6367 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.0005154/0.3062, allocations: 0.817 MB / 0.524 GB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.303e-05/0.3062, allocations: 0 / 0.524 GB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.3062, allocations: 0 / 0.524 GB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-06/0.3063, allocations: 3.938 kB / 0.524 GB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.3067, allocations: 467.7 kB / 0.5244 GB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.3083, allocations: 1.814 MB / 0.5262 GB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.3086, allocations: 0.7 MB / 0.5269 GB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.415e-05/0.3086, allocations: 7.984 kB / 0.5269 GB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.3087, allocations: 27.36 kB / 0.5269 GB, free: 12.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.094e-06/0.3087, allocations: 3.938 kB / 0.5269 GB, free: 12.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.3301, allocations: 1.839 MB / 0.5287 GB, free: 10.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.267, allocations: 9.484 kB / 0.5287 GB, free: 10.91 MB / 350.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12_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_TestDoubleLayer10over12.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.976128931972198] Failed to read output from testmodel.py, exit status != 0: 8.345701829064637 8.368895 8.065313012 Calling exit ...