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.001463/0.001463, allocations: 119.8 kB / 16.37 MB, free: 6.016 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.447/1.447, allocations: 222.9 MB / 240 MB, free: 4.512 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.001875/0.001875, allocations: 176.5 kB / 290.3 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03438/0.03438, allocations: 8.786 MB / 349.3 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.00183, allocations: 79.25 kB / 412.5 MB, free: 41.76 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1122, allocations: 51.58 MB / 464.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002422/0.1146, allocations: 1.171 MB / 465.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 3.613e-05/0.1147, allocations: 7.875 kB / 465.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.1147, allocations: 0 / 465.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.1148, allocations: 0 / 465.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.1148, allocations: 3.938 kB / 465.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.156e-05/0.1149, allocations: 7.984 kB / 465.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.275e-05/0.1149, allocations: 8 kB / 465.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.115, allocations: 4 kB / 465.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.115, allocations: 11.92 kB / 465.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.395e-05/0.1151, allocations: 3.984 kB / 465.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1151, allocations: 0 / 465.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-06/0.1151, allocations: 0 / 465.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.1151, allocations: 0 / 465.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.1151, allocations: 7.938 kB / 465.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.781e-05/0.1152, allocations: 4 kB / 465.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1152, allocations: 0 / 465.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1152, allocations: 3.938 kB / 465.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1152, allocations: 0 / 465.3 MB, free: 12.29 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.0003673/0.1156, allocations: 327.5 kB / 465.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1156, allocations: 8.031 kB / 465.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.1157, allocations: 4.938 kB / 465.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1158, allocations: 164.4 kB / 465.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1158, allocations: 384 / 465.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.1158, allocations: 384 / 465.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.675e-05/0.1159, allocations: 47.97 kB / 465.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1159, allocations: 192 / 465.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.116, allocations: 7.938 kB / 465.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.116, allocations: 0 / 465.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.116, allocations: 11.88 kB / 465.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.1164, allocations: 190.5 kB / 466.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.108e-05/0.1165, allocations: 37.12 kB / 466.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.1166, allocations: 25.81 kB / 466.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.1166, allocations: 0 / 466.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.1166, allocations: 30.56 kB / 466.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1166, allocations: 4 kB / 466.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001296/0.1167, allocations: 49.58 kB / 466.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1168, allocations: 77.11 kB / 466.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.1169, allocations: 97.84 kB / 466.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1169, allocations: 25.7 kB / 466.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.117, allocations: 80.14 kB / 466.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.117, allocations: 11.84 kB / 466.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.117, allocations: 22.09 kB / 466.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1172, allocations: 310.8 kB / 466.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.1172, allocations: 7.938 kB / 466.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.778e-05/0.1172, allocations: 17.7 kB / 466.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.1172, allocations: 21.66 kB / 466.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1172, allocations: 0 / 466.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.458e-05/0.1173, allocations: 45.7 kB / 466.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1173, allocations: 4 kB / 466.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1173, allocations: 7.938 kB / 466.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1174, allocations: 0 / 466.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.1175, allocations: 27.97 kB / 467 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.1193, allocations: 2.715 MB / 469.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.1194, allocations: 0 / 469.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1194, allocations: 8.188 kB / 469.7 MB, free: 7.395 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 9.382e-05/0.1195, allocations: 121.7 kB / 469.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/0.1195, allocations: 3.938 kB / 469.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.485e-05/0.1195, allocations: 15.08 kB / 469.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1195, allocations: 0 / 469.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.1196, allocations: 0 / 469.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1196, allocations: 0 / 469.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.1199, allocations: 185.6 kB / 470 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1199, allocations: 7.984 kB / 470 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.1201, allocations: 23.98 kB / 470 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1201, allocations: 7.875 kB / 470 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.1201, allocations: 0 / 470 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.1217, allocations: 2.719 MB / 472.8 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1217, allocations: 3.938 kB / 472.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.231e-05/0.1218, allocations: 74.17 kB / 472.8 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.1219, allocations: 81.05 kB / 472.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-06/0.1219, allocations: 4 kB / 472.9 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.172e-05/0.1219, allocations: 4 kB / 472.9 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.1219, allocations: 4 kB / 472.9 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1219, allocations: 4.031 kB / 472.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.468e-05/0.122, allocations: 83.27 kB / 473 MB, free: 3.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.122, allocations: 0 / 473 MB, free: 3.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1222, allocations: 4 kB / 473 MB, free: 3.688 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 8.563e-05/0.1223, allocations: 95.19 kB / 473.1 MB, free: 3.582 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004799/0.1228, allocations: 40.06 kB / 473.2 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1228, allocations: 0 / 473.2 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.1232, allocations: 35.97 kB / 473.2 MB, free: 3.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.1233, allocations: 4 kB / 473.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.1236, allocations: 130.4 kB / 473.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1239, allocations: 0.6768 MB / 474 MB, free: 2.645 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.526e-05/0.124, allocations: 23.94 kB / 474 MB, free: 2.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.1241, allocations: 19.41 kB / 474 MB, free: 2.602 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1241, allocations: 0 / 474 MB, free: 2.602 MB / 302.1 MB Notification: Performance of Templates: time 0.002586/0.1267, allocations: 0.8148 MB / 474.9 MB, free: 1.785 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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)