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.01015/0.01015, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.333/1.333, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001324/0.001323, allocations: 184.5 kB / 289.7 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04723/0.04723, allocations: 8.787 MB / 348.6 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 75.86 kB / 463.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1107, allocations: 51.57 MB / 0.5034 GB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002058/0.1128, allocations: 1.184 MB / 0.5045 GB, free: 8.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 4.137e-05/0.1128, allocations: 4 kB / 0.5045 GB, free: 8.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.1129, allocations: 0 / 0.5045 GB, free: 8.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.1129, allocations: 0 / 0.5045 GB, free: 8.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.1129, allocations: 7.922 kB / 0.5045 GB, free: 8.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.401e-05/0.113, allocations: 0 / 0.5045 GB, free: 8.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.455e-05/0.113, allocations: 15.94 kB / 0.5046 GB, free: 8.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.1131, allocations: 4 kB / 0.5046 GB, free: 8.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.076e-05/0.1131, allocations: 11.92 kB / 0.5046 GB, free: 8.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.1132, allocations: 3.984 kB / 0.5046 GB, free: 8.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1132, allocations: 0 / 0.5046 GB, free: 8.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.701e-06/0.1132, allocations: 0 / 0.5046 GB, free: 8.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.1132, allocations: 4 kB / 0.5046 GB, free: 8.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.1133, allocations: 7.938 kB / 0.5046 GB, free: 8.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.659e-05/0.1133, allocations: 4 kB / 0.5046 GB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1133, allocations: 0 / 0.5046 GB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1133, allocations: 4 kB / 0.5046 GB, free: 8.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1133, allocations: 0 / 0.5046 GB, free: 8.27 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.000367/0.1137, allocations: 315.6 kB / 0.5049 GB, free: 7.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1138, allocations: 8.031 kB / 0.5049 GB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.1138, allocations: 0.9375 kB / 0.5049 GB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1139, allocations: 168.3 kB / 0.5051 GB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1139, allocations: 8.375 kB / 0.5051 GB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1139, allocations: 384 / 0.5051 GB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.114, allocations: 47.92 kB / 0.5051 GB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.1141, allocations: 192 / 0.5051 GB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1141, allocations: 3.938 kB / 0.5051 GB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1141, allocations: 0 / 0.5051 GB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.1141, allocations: 4 kB / 0.5051 GB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.1145, allocations: 190.5 kB / 0.5053 GB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.331e-05/0.1146, allocations: 45.17 kB / 0.5054 GB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.1146, allocations: 17.77 kB / 0.5054 GB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.1147, allocations: 0 / 0.5054 GB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1147, allocations: 38.56 kB / 0.5054 GB, free: 7.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1147, allocations: 0 / 0.5054 GB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001224/0.1148, allocations: 49.52 kB / 0.5055 GB, free: 7.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1149, allocations: 85.03 kB / 0.5055 GB, free: 7.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.1149, allocations: 97.86 kB / 0.5056 GB, free: 6.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.115, allocations: 25.7 kB / 0.5057 GB, free: 6.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.115, allocations: 80.52 kB / 0.5057 GB, free: 6.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.115, allocations: 11.84 kB / 0.5057 GB, free: 6.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1151, allocations: 21.66 kB / 0.5058 GB, free: 6.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1152, allocations: 310.8 kB / 0.5061 GB, free: 6.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.1152, allocations: 3.984 kB / 0.5061 GB, free: 6.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.468e-05/0.1152, allocations: 13.72 kB / 0.5061 GB, free: 6.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.1153, allocations: 17.78 kB / 0.5061 GB, free: 6.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1153, allocations: 4 kB / 0.5061 GB, free: 6.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.47e-05/0.1154, allocations: 45.64 kB / 0.5061 GB, free: 6.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1154, allocations: 4 kB / 0.5061 GB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1154, allocations: 7.922 kB / 0.5061 GB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1154, allocations: 4 kB / 0.5062 GB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.1156, allocations: 23.98 kB / 0.5062 GB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.1174, allocations: 2.715 MB / 0.5088 GB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.1174, allocations: 4.156 kB / 0.5088 GB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1174, allocations: 0 / 0.5088 GB, free: 3.395 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): 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.977e-05/0.1175, allocations: 121.8 kB / 0.5089 GB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.1175, allocations: 3.938 kB / 0.509 GB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.513e-05/0.1176, allocations: 3.125 kB / 0.509 GB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1176, allocations: 4 kB / 0.509 GB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.62e-07/0.1176, allocations: 0 / 0.509 GB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1176, allocations: 0 / 0.509 GB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.1179, allocations: 189.6 kB / 0.5091 GB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1179, allocations: 3.984 kB / 0.5091 GB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.1181, allocations: 27.98 kB / 0.5092 GB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1181, allocations: 3.938 kB / 0.5092 GB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1181, allocations: 0 / 0.5092 GB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.1201, allocations: 2.731 MB / 0.5118 GB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1201, allocations: 0 / 0.5118 GB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.603e-05/0.1202, allocations: 70.02 kB / 0.5119 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.1203, allocations: 81.05 kB / 0.512 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-06/0.1203, allocations: 0 / 0.512 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.1203, allocations: 0 / 0.512 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.1203, allocations: 19.95 kB / 0.512 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1203, allocations: 0 / 0.512 GB, free: 15.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.846e-05/0.1204, allocations: 83.28 kB / 0.5121 GB, free: 15.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1204, allocations: 0 / 0.5121 GB, free: 15.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.1206, allocations: 4 kB / 0.5121 GB, free: 15.68 MB / 366.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 0.0001019/0.1207, allocations: 95.19 kB / 0.5122 GB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005305/0.1213, allocations: 40.06 kB / 0.5122 GB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1213, allocations: 0 / 0.5122 GB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.1216, allocations: 35.91 kB / 0.5122 GB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.1218, allocations: 256 / 0.5122 GB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.1222, allocations: 122.3 kB / 0.5124 GB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1225, allocations: 0.6805 MB / 0.513 GB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.486e-05/0.1226, allocations: 20 kB / 0.513 GB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.1226, allocations: 23.41 kB / 0.5131 GB, free: 14.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1227, allocations: 0 / 0.5131 GB, free: 14.61 MB / 366.1 MB Notification: Performance of Templates: time 0.002776/0.1254, allocations: 0.8304 MB / 0.5139 GB, free: 13.77 MB / 366.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)