Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007367/0.0007367, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.3 MB / 240 MB, free: 5.484 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.0009487/0.0009484, allocations: 188.5 kB / 291.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03416/0.03416, allocations: 8.8 MB / 351.2 MB, free: 4.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 11.27 kB / 414.5 MB, free: 42.67 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06422/0.06455, allocations: 52.56 MB / 467 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.0009875/0.06558, allocations: 0.9159 MB / 467.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 3.429e-05/0.06562, allocations: 3.984 kB / 467.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.551e-05/0.06565, allocations: 0 / 467.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.06567, allocations: 0 / 467.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.686e-05/0.06571, allocations: 7.938 kB / 468 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.817e-05/0.06576, allocations: 0 / 468 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.911e-05/0.0658, allocations: 8 kB / 468 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.06585, allocations: 7.984 kB / 468 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.06588, allocations: 4 kB / 468 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.31e-05/0.06591, allocations: 3.938 kB / 468 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.06593, allocations: 0 / 468 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-06/0.06594, allocations: 4 kB / 468 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.06596, allocations: 0 / 468 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.06599, allocations: 29.64 kB / 468 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.113e-05/0.06603, allocations: 7.984 kB / 468 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.06604, allocations: 3.938 kB / 468 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.06604, allocations: 0 / 468 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.06605, allocations: 4 kB / 468 MB, free: 12.09 MB / 302.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.000276/0.06633, allocations: 307.9 kB / 468.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.06638, allocations: 12.03 kB / 468.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.06641, allocations: 4.844 kB / 468.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.0665, allocations: 176.3 kB / 468.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-06/0.06652, allocations: 384 / 468.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.06653, allocations: 4.375 kB / 468.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.922e-05/0.06662, allocations: 47.98 kB / 468.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.06663, allocations: 4.125 kB / 468.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.06664, allocations: 3.938 kB / 468.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.06665, allocations: 0 / 468.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.06668, allocations: 7.922 kB / 468.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.0671, allocations: 198.5 kB / 468.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.474e-05/0.06716, allocations: 37.19 kB / 468.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.06718, allocations: 9.719 kB / 468.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.06719, allocations: 4.062 kB / 468.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.06722, allocations: 42.55 kB / 468.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.06722, allocations: 0 / 468.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001154/0.06734, allocations: 49.56 kB / 468.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.06739, allocations: 81.11 kB / 469 MB, free: 10.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.362e-05/0.06745, allocations: 89.86 kB / 469.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.06746, allocations: 29.7 kB / 469.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.06749, allocations: 80.52 kB / 469.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.06752, allocations: 7.906 kB / 469.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.06755, allocations: 13.72 kB / 469.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.06763, allocations: 314.8 kB / 469.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-06/0.06764, allocations: 4 kB / 469.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.06766, allocations: 9.719 kB / 469.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/0.0677, allocations: 25.66 kB / 469.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.06771, allocations: 4.062 kB / 469.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.212e-05/0.06778, allocations: 45.62 kB / 469.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.0678, allocations: 8 kB / 469.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.06781, allocations: 7.875 kB / 469.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.06782, allocations: 0 / 469.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.06802, allocations: 23.98 kB / 469.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.06931, allocations: 2.537 MB / 472.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.06934, allocations: 0 / 472.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.06935, allocations: 0 / 472.2 MB, free: 7.406 MB / 302.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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.607e-05/0.06942, allocations: 117.8 kB / 472.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.06944, allocations: 8.109 kB / 472.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.422e-05/0.06946, allocations: 11.08 kB / 472.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.06947, allocations: 7.938 kB / 472.3 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.06947, allocations: 0 / 472.3 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.06948, allocations: 0 / 472.3 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.0698, allocations: 185.6 kB / 472.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.06981, allocations: 0 / 472.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.06999, allocations: 35.98 kB / 472.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.07, allocations: 0 / 472.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.07001, allocations: 0 / 472.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.07121, allocations: 2.541 MB / 475.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.07123, allocations: 3.938 kB / 475.1 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.384e-05/0.07129, allocations: 65.97 kB / 475.2 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.07133, allocations: 85.05 kB / 475.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-06/0.07134, allocations: 3.984 kB / 475.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.07137, allocations: 0 / 475.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.07139, allocations: 8.125 kB / 475.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.0714, allocations: 0 / 475.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.615e-05/0.07143, allocations: 79.28 kB / 475.3 MB, free: 3.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07144, allocations: 0 / 475.3 MB, free: 3.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.07165, allocations: 4 kB / 475.3 MB, free: 3.902 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.498e-05/0.07172, allocations: 95.25 kB / 475.4 MB, free: 3.797 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.07195, allocations: 36.02 kB / 475.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.07197, allocations: 0 / 475.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.07214, allocations: 19.98 kB / 475.5 MB, free: 3.742 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.07229, allocations: 13.44 kB / 475.5 MB, free: 3.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.07253, allocations: 136.6 kB / 475.6 MB, free: 3.562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.07271, allocations: 0.677 MB / 476.3 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.318e-06/0.07273, allocations: 7.438 kB / 476.3 MB, free: 2.852 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.07273, allocations: 0 / 476.3 MB, free: 2.852 MB / 302.1 MB Notification: Performance of Templates: time 0.001927/0.07466, allocations: 0.7686 MB / 477.1 MB, free: 2.082 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & ./HanserModelica_HanserModelica.VariablesTypes.Attributes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)