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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) 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=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 110.4 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.1 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 188.5 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03643/0.03643, allocations: 8.791 MB / 349.3 MB, free: 4.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 83.86 kB / 464.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08311/0.08465, allocations: 51.56 MB / 0.504 GB, free: 9.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002092/0.08678, allocations: 1.273 MB / 0.5053 GB, free: 8.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 5.194e-05/0.08685, allocations: 8 kB / 0.5053 GB, free: 8.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.08688, allocations: 0 / 0.5053 GB, free: 8.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.08692, allocations: 0 / 0.5053 GB, free: 8.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.312e-05/0.08699, allocations: 7.922 kB / 0.5053 GB, free: 8.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.576e-05/0.08702, allocations: 3.984 kB / 0.5053 GB, free: 8.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.995e-05/0.08707, allocations: 4 kB / 0.5053 GB, free: 8.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.597e-05/0.08714, allocations: 4 kB / 0.5053 GB, free: 8.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.035e-05/0.08717, allocations: 11.94 kB / 0.5053 GB, free: 8.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.189e-05/0.08721, allocations: 3.938 kB / 0.5053 GB, free: 8.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.08722, allocations: 0 / 0.5053 GB, free: 8.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-06/0.08723, allocations: 4 kB / 0.5053 GB, free: 8.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.08725, allocations: 0 / 0.5053 GB, free: 8.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.08727, allocations: 3.938 kB / 0.5053 GB, free: 8.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.843e-05/0.08733, allocations: 7.984 kB / 0.5053 GB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.08734, allocations: 0 / 0.5053 GB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.08734, allocations: 3.938 kB / 0.5053 GB, free: 8.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.08735, allocations: 0 / 0.5053 GB, free: 8.086 MB / 350.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.0003042/0.08766, allocations: 323.6 kB / 0.5057 GB, free: 7.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.0877, allocations: 12.03 kB / 0.5057 GB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.08773, allocations: 4.844 kB / 0.5057 GB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.08786, allocations: 164.4 kB / 0.5058 GB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.08787, allocations: 384 / 0.5058 GB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.08789, allocations: 4.375 kB / 0.5058 GB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.655e-05/0.08796, allocations: 39.98 kB / 0.5059 GB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.08797, allocations: 12.11 kB / 0.5059 GB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.08799, allocations: 7.938 kB / 0.5059 GB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.088, allocations: 0 / 0.5059 GB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.338e-05/0.08801, allocations: 0 / 0.5059 GB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.08831, allocations: 471.7 kB / 0.5063 GB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/0.08838, allocations: 177 kB / 0.5065 GB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.08842, allocations: 84.14 kB / 0.5066 GB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.08845, allocations: 75.28 kB / 0.5067 GB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.08849, allocations: 113.8 kB / 0.5068 GB, free: 6.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.0885, allocations: 0 / 0.5068 GB, free: 6.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.148e-05/0.08857, allocations: 25.7 kB / 0.5068 GB, free: 6.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.0886, allocations: 55.39 kB / 0.5068 GB, free: 6.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.08868, allocations: 109.8 kB / 0.507 GB, free: 6.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.0887, allocations: 25.7 kB / 0.507 GB, free: 6.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.08875, allocations: 84.05 kB / 0.5071 GB, free: 6.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.08875, allocations: 0 / 0.5071 GB, free: 6.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.08879, allocations: 21.7 kB / 0.5071 GB, free: 6.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.08888, allocations: 310.8 kB / 0.5074 GB, free: 5.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.08889, allocations: 4.25 kB / 0.5074 GB, free: 5.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.236e-05/0.08891, allocations: 13.72 kB / 0.5074 GB, free: 5.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/0.08895, allocations: 21.72 kB / 0.5074 GB, free: 5.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.08895, allocations: 0 / 0.5074 GB, free: 5.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.073e-05/0.08905, allocations: 53.47 kB / 0.5075 GB, free: 5.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.08907, allocations: 8 kB / 0.5075 GB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.08908, allocations: 3.984 kB / 0.5075 GB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.0891, allocations: 0 / 0.5075 GB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.019e-05/0.08914, allocations: 12.06 kB / 0.5075 GB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.08915, allocations: 0 / 0.5075 GB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.08918, allocations: 0 / 0.5075 GB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.08919, allocations: 4 kB / 0.5075 GB, free: 5.641 MB / 350.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 7.961e-05/0.08927, allocations: 189 kB / 0.5077 GB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.08933, allocations: 112.9 kB / 0.5078 GB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.08938, allocations: 104.1 kB / 0.5079 GB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-05/0.08943, allocations: 188.2 kB / 0.5081 GB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.728e-05/0.08947, allocations: 101 kB / 0.5082 GB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.08953, allocations: 186.1 kB / 0.5083 GB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.0896, allocations: 180.2 kB / 0.5085 GB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.08967, allocations: 101 kB / 0.5086 GB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.08974, allocations: 184.2 kB / 0.5088 GB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.077e-05/0.08982, allocations: 267.5 kB / 0.509 GB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001289/0.08995, allocations: 379 kB / 0.5094 GB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.192e-05/0.08999, allocations: 101 kB / 0.5095 GB, free: 3.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.678e-05/0.09003, allocations: 83.28 kB / 0.5096 GB, free: 3.387 MB / 350.1 MB Notification: Performance of Backend: time 2.154e-06/0.09004, allocations: 0 / 0.5096 GB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.09033, allocations: 88.44 kB / 0.5097 GB, free: 3.293 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004372/0.09078, allocations: 0.8387 MB / 0.5105 GB, free: 2.402 MB / 350.1 MB Notification: Performance of Templates: time 0.002158/0.09295, allocations: 221.5 kB / 0.5107 GB, free: 2.188 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile (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)