Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.001448/0.001448, allocations: 110.1 kB / 16.4 MB, free: 6.5 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.475/1.475, 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.001597/0.001597, allocations: 187.8 kB / 294.4 MB, free: 12.68 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.04281/0.04281, allocations: 8.799 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.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 87.86 kB / 472.1 MB, free: 5.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2785, allocations: 51.54 MB / 0.5114 GB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002567/0.2811, allocations: 1.251 MB / 0.5126 GB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.2831, allocations: 1.16 MB / 0.5137 GB, free: 10.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.2831, allocations: 0.9062 kB / 0.5137 GB, free: 10.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.2836, allocations: 78.95 kB / 0.5138 GB, free: 10.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.2848, allocations: 393.7 kB / 0.5142 GB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.704e-06/0.2848, allocations: 0 / 0.5142 GB, free: 10.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.2864, allocations: 0.9622 MB / 0.5151 GB, free: 9.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.2864, allocations: 7.938 kB / 0.5151 GB, free: 9.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.2864, allocations: 11.94 kB / 0.5152 GB, free: 9.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.2865, allocations: 15.92 kB / 0.5152 GB, free: 9.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.2865, allocations: 3.938 kB / 0.5152 GB, free: 9.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.2867, allocations: 43.97 kB / 0.5152 GB, free: 9.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/0.2867, allocations: 23.97 kB / 0.5152 GB, free: 9.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.2868, allocations: 15.81 kB / 0.5153 GB, free: 9.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.287, allocations: 83.55 kB / 0.5153 GB, free: 9.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.287, allocations: 7.938 kB / 0.5153 GB, free: 9.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.287, allocations: 0 / 0.5153 GB, free: 9.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.287, allocations: 0 / 0.5153 GB, free: 9.105 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.000451/0.2875, allocations: 386.9 kB / 0.5157 GB, free: 8.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2875, allocations: 12.03 kB / 0.5157 GB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.099e-05/0.2876, allocations: 106 kB / 0.5158 GB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/0.288, allocations: 108.1 kB / 0.5159 GB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.2885, allocations: 355.9 kB / 0.5163 GB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-05/0.2886, allocations: 158.9 kB / 0.5164 GB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.497e-05/0.2887, allocations: 158.9 kB / 0.5166 GB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.76e-05/0.2887, allocations: 109.1 kB / 0.5167 GB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.2888, allocations: 75.28 kB / 0.5167 GB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.2889, allocations: 150.6 kB / 0.5169 GB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.111e-05/0.2889, allocations: 154.6 kB / 0.517 GB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.555e-05/0.289, allocations: 154.6 kB / 0.5172 GB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.2894, allocations: 469.9 kB / 0.5176 GB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2895, allocations: 165.1 kB / 0.5178 GB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.2895, allocations: 88.14 kB / 0.5179 GB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.2896, allocations: 75.28 kB / 0.5179 GB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/0.2896, allocations: 109.8 kB / 0.518 GB, free: 6.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.2896, allocations: 0 / 0.518 GB, free: 6.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.379e-05/0.2897, allocations: 37.59 kB / 0.5181 GB, free: 6.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.2898, allocations: 130.7 kB / 0.5182 GB, free: 5.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.29, allocations: 168 kB / 0.5184 GB, free: 5.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.29, allocations: 29.7 kB / 0.5184 GB, free: 5.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.2901, allocations: 104.1 kB / 0.5185 GB, free: 5.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.2901, allocations: 0 / 0.5185 GB, free: 5.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.2901, allocations: 9.719 kB / 0.5185 GB, free: 5.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2903, allocations: 322.8 kB / 0.5188 GB, free: 5.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-06/0.2903, allocations: 0 / 0.5188 GB, free: 5.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-06/0.2903, allocations: 0 / 0.5188 GB, free: 5.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.2903, allocations: 75.28 kB / 0.5189 GB, free: 5.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.98e-05/0.2904, allocations: 79.28 kB / 0.519 GB, free: 5.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.885e-05/0.2905, allocations: 45.53 kB / 0.519 GB, free: 5.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.2905, allocations: 81.16 kB / 0.5191 GB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/0.2905, allocations: 75.28 kB / 0.5192 GB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.713e-05/0.2906, allocations: 158.6 kB / 0.5193 GB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.461e-05/0.2907, allocations: 83.2 kB / 0.5194 GB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.558e-05/0.2908, allocations: 150.6 kB / 0.5195 GB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.2908, allocations: 87.16 kB / 0.5196 GB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.2909, allocations: 83.33 kB / 0.5197 GB, free: 4.395 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.0001726/0.2911, allocations: 276.3 kB / 0.52 GB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/0.2912, allocations: 124.8 kB / 0.5201 GB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.95e-05/0.2912, allocations: 121.5 kB / 0.5202 GB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.76e-05/0.2913, allocations: 180.3 kB / 0.5204 GB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.604e-05/0.2914, allocations: 180.2 kB / 0.5205 GB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.559e-05/0.2915, allocations: 176.3 kB / 0.5207 GB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.2918, allocations: 421.2 kB / 0.5211 GB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.876e-05/0.2919, allocations: 108.9 kB / 0.5212 GB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.227e-05/0.2919, allocations: 108.9 kB / 0.5213 GB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-05/0.292, allocations: 188.2 kB / 0.5215 GB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/0.2921, allocations: 180.2 kB / 0.5217 GB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.743e-05/0.2922, allocations: 180.3 kB / 0.5218 GB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.765e-05/0.2923, allocations: 180.2 kB / 0.522 GB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.2925, allocations: 315.7 kB / 0.5223 GB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.2926, allocations: 190 kB / 0.5225 GB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2927, allocations: 180.3 kB / 0.5227 GB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.2928, allocations: 108.9 kB / 0.5228 GB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/0.2929, allocations: 176.3 kB / 0.5229 GB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.293, allocations: 108.9 kB / 0.523 GB, free: 0.7383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.2931, allocations: 128 kB / 0.5232 GB, free: 0.6133 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2931, allocations: 0 / 0.5232 GB, free: 0.6133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.2934, allocations: 4 kB / 0.5232 GB, free: 0.6094 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.0004943/0.2939, allocations: 0.813 MB / 0.524 GB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.654e-05/0.2939, allocations: 11.94 kB / 0.524 GB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2939, allocations: 0 / 0.524 GB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.2939, allocations: 0 / 0.524 GB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.2944, allocations: 467.7 kB / 0.5244 GB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.296, allocations: 1.82 MB / 0.5262 GB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.2963, allocations: 0.7 MB / 0.5269 GB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.011e-05/0.2964, allocations: 7.984 kB / 0.5269 GB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.2964, allocations: 19.42 kB / 0.5269 GB, free: 12.64 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2964, allocations: 0 / 0.5269 GB, free: 12.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.3198, allocations: 1.836 MB / 0.5287 GB, free: 10.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/8.377, allocations: 3.938 kB / 0.5287 GB, free: 10.9 MB / 350.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Machines.TestSingleLayer12over12_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_TestSingleLayer12over12.fmu > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.047606623964384] Failed to read output from testmodel.py, exit status != 0: 8.444340606918558 8.465550803 8.174663629 Calling exit ...