Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.00154/0.00154, allocations: 110.4 kB / 17.08 MB, free: 5.824 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.394/1.394, allocations: 222.9 MB / 242.7 MB, free: 15.21 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.001478/0.001478, allocations: 189.6 kB / 295 MB, free: 12.64 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.03925/0.03925, allocations: 8.786 MB / 356 MB, free: 15.89 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: translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 83.88 kB / 473.3 MB, free: 5.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2816, allocations: 51.56 MB / 0.5125 GB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002397/0.2841, allocations: 1.263 MB / 0.5138 GB, free: 11.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 6.427e-05/0.2842, allocations: 9 kB / 0.5138 GB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.2842, allocations: 0.8438 kB / 0.5138 GB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.2843, allocations: 0 / 0.5138 GB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.863e-05/0.2843, allocations: 13.2 kB / 0.5138 GB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.64e-05/0.2844, allocations: 0 / 0.5138 GB, free: 11.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.125e-05/0.2844, allocations: 7.109 kB / 0.5138 GB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.275e-05/0.2845, allocations: 10.53 kB / 0.5138 GB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.093e-05/0.2845, allocations: 1.375 kB / 0.5138 GB, free: 11.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.742e-05/0.2846, allocations: 5.219 kB / 0.5138 GB, free: 11.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2846, allocations: 1.25 kB / 0.5138 GB, free: 11.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.24e-06/0.2846, allocations: 0 / 0.5138 GB, free: 11.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.2846, allocations: 1.094 kB / 0.5138 GB, free: 11.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.2847, allocations: 5.312 kB / 0.5138 GB, free: 11.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.666e-05/0.2847, allocations: 13.47 kB / 0.5138 GB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2847, allocations: 4 kB / 0.5138 GB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2847, allocations: 1.25 kB / 0.5138 GB, free: 11.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2848, allocations: 0 / 0.5138 GB, free: 11.39 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003918/0.2852, allocations: 320.4 kB / 0.5142 GB, free: 11.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2852, allocations: 12.69 kB / 0.5142 GB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.2852, allocations: 5.906 kB / 0.5142 GB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.2854, allocations: 162.5 kB / 0.5143 GB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2854, allocations: 384 / 0.5143 GB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.2854, allocations: 5.5 kB / 0.5143 GB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.007e-05/0.2855, allocations: 47.5 kB / 0.5144 GB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2855, allocations: 1.562 kB / 0.5144 GB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2855, allocations: 7.875 kB / 0.5144 GB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2856, allocations: 0 / 0.5144 GB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.846e-05/0.2856, allocations: 6.562 kB / 0.5144 GB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.2859, allocations: 473.1 kB / 0.5148 GB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.171e-05/0.286, allocations: 170.2 kB / 0.515 GB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.2861, allocations: 81.2 kB / 0.5151 GB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.2861, allocations: 79.22 kB / 0.5152 GB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.337e-05/0.2862, allocations: 114.9 kB / 0.5153 GB, free: 9.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2862, allocations: 0 / 0.5153 GB, free: 9.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.003e-05/0.2863, allocations: 26.92 kB / 0.5153 GB, free: 9.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.2864, allocations: 131.8 kB / 0.5154 GB, free: 9.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.2865, allocations: 100.7 kB / 0.5155 GB, free: 9.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2865, allocations: 25.7 kB / 0.5155 GB, free: 9.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.2866, allocations: 93.34 kB / 0.5156 GB, free: 9.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.2866, allocations: 1.156 kB / 0.5156 GB, free: 9.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.2866, allocations: 19.84 kB / 0.5156 GB, free: 9.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2867, allocations: 315.9 kB / 0.5159 GB, free: 9.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.2867, allocations: 1.219 kB / 0.516 GB, free: 9.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.843e-05/0.2868, allocations: 19.78 kB / 0.516 GB, free: 9.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.2868, allocations: 14.28 kB / 0.516 GB, free: 9.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2868, allocations: 3.938 kB / 0.516 GB, free: 9.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.886e-05/0.2869, allocations: 50.69 kB / 0.516 GB, free: 8.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2869, allocations: 4.75 kB / 0.516 GB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2869, allocations: 1.156 kB / 0.516 GB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.287, allocations: 1.156 kB / 0.516 GB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.127e-05/0.287, allocations: 2.375 kB / 0.516 GB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.287, allocations: 1.188 kB / 0.516 GB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.287, allocations: 1.219 kB / 0.516 GB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.287, allocations: 1.031 kB / 0.516 GB, free: 8.961 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001115/0.2872, allocations: 203.2 kB / 0.5162 GB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.2872, allocations: 114.1 kB / 0.5164 GB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.2873, allocations: 109.1 kB / 0.5165 GB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.711e-05/0.2874, allocations: 177.4 kB / 0.5166 GB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.792e-05/0.2875, allocations: 181.6 kB / 0.5168 GB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-05/0.2875, allocations: 181.4 kB / 0.517 GB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.2878, allocations: 427.4 kB / 0.5174 GB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.059e-05/0.2879, allocations: 102 kB / 0.5175 GB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.2879, allocations: 106 kB / 0.5176 GB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.002e-05/0.288, allocations: 181.3 kB / 0.5177 GB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.118e-05/0.288, allocations: 177.3 kB / 0.5179 GB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.491e-05/0.2881, allocations: 185.2 kB / 0.5181 GB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.662e-05/0.2882, allocations: 181.4 kB / 0.5183 GB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.2884, allocations: 308.1 kB / 0.5186 GB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.2885, allocations: 183.3 kB / 0.5187 GB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.792e-05/0.2885, allocations: 185.4 kB / 0.5189 GB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.2886, allocations: 110.1 kB / 0.519 GB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.2887, allocations: 177.5 kB / 0.5192 GB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.2888, allocations: 106.1 kB / 0.5193 GB, free: 5.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.853e-05/0.2888, allocations: 83.69 kB / 0.5194 GB, free: 5.363 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2888, allocations: 0 / 0.5194 GB, free: 5.363 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.289, allocations: 2.188 kB / 0.5194 GB, free: 5.363 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.0001263/0.2892, allocations: 170.5 kB / 0.5195 GB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.746e-05/0.2892, allocations: 8.797 kB / 0.5195 GB, free: 5.191 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2893, allocations: 0 / 0.5195 GB, free: 5.191 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.2893, allocations: 5.125 kB / 0.5195 GB, free: 5.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.2897, allocations: 460.8 kB / 0.52 GB, free: 4.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.2899, allocations: 177.6 kB / 0.5202 GB, free: 4.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.2902, allocations: 0.6799 MB / 0.5208 GB, free: 3.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.2903, allocations: 7.438 kB / 0.5208 GB, free: 3.824 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2903, allocations: 1.156 kB / 0.5208 GB, free: 3.824 MB / 334.1 MB Notification: Performance of Templates: time 0.001867/0.2921, allocations: 411.6 kB / 0.5212 GB, free: 3.625 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.826789428945631] Failed to read output from testmodel.py, exit status != 0: 0.2985436210874468 0.31165320099999994 0.024441409 Calling exit ...