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.001272/0.001273, allocations: 108 kB / 15.61 MB, free: 152 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.425/1.425, allocations: 222.9 MB / 239.2 MB, free: 4.602 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.001427/0.001427, allocations: 188.5 kB / 289.5 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03376/0.03376, allocations: 8.79 MB / 348.5 MB, free: 4.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 77.83 kB / 411.1 MB, free: 42.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1072, allocations: 51.56 MB / 462.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.003018/0.1103, allocations: 1.264 MB / 463.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 5.605e-05/0.1104, allocations: 4 kB / 463.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.1104, allocations: 0 / 463.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.239e-05/0.1105, allocations: 7.938 kB / 463.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.014e-05/0.1106, allocations: 3.984 kB / 463.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.665e-05/0.1106, allocations: 0 / 463.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.548e-05/0.1107, allocations: 15.94 kB / 463.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.703e-05/0.1108, allocations: 0 / 463.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.768e-05/0.1109, allocations: 15.86 kB / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.1109, allocations: 0 / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1109, allocations: 0 / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.1109, allocations: 0 / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.111, allocations: 0 / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.111, allocations: 11.94 kB / 463.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.48e-05/0.1111, allocations: 7.984 kB / 464 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1111, allocations: 4 kB / 464 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1111, allocations: 0 / 464 MB, free: 13.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1111, allocations: 4 kB / 464 MB, free: 13.07 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.0004076/0.1115, allocations: 319.5 kB / 464.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1116, allocations: 8.031 kB / 464.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.1116, allocations: 4.938 kB / 464.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.1118, allocations: 160.7 kB / 464.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1118, allocations: 384 / 464.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1118, allocations: 4.312 kB / 464.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1119, allocations: 51.91 kB / 464.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1119, allocations: 192 / 464.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.112, allocations: 7.938 kB / 464.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.112, allocations: 0 / 464.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.513e-05/0.112, allocations: 4 kB / 464.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.1125, allocations: 471.6 kB / 465 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.1126, allocations: 177.1 kB / 465.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/0.1126, allocations: 84.14 kB / 465.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.1127, allocations: 75.28 kB / 465.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/0.1127, allocations: 105.8 kB / 465.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.1128, allocations: 4 kB / 465.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.864e-05/0.1128, allocations: 33.55 kB / 465.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.1129, allocations: 134.7 kB / 465.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.113, allocations: 101.9 kB / 465.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1131, allocations: 25.7 kB / 465.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.1131, allocations: 92.03 kB / 465.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-06/0.1131, allocations: 0 / 465.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.1132, allocations: 13.72 kB / 465.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1133, allocations: 310.8 kB / 466.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.1134, allocations: 8 kB / 466.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.645e-05/0.1134, allocations: 13.72 kB / 466.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/0.1134, allocations: 17.66 kB / 466.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1134, allocations: 3.938 kB / 466.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001123/0.1136, allocations: 41.69 kB / 466.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1136, allocations: 8.125 kB / 466.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1136, allocations: 4 kB / 466.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1136, allocations: 7.922 kB / 466.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.406e-05/0.1137, allocations: 4 kB / 466.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1137, allocations: 3.938 kB / 466.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.1137, allocations: 0 / 466.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1137, allocations: 4 kB / 466.2 MB, free: 10.56 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): 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.0001234/0.1139, allocations: 193 kB / 466.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.1139, allocations: 109 kB / 466.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.114, allocations: 112.1 kB / 466.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-05/0.1141, allocations: 184.1 kB / 466.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.391e-05/0.1142, allocations: 176.3 kB / 467 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.598e-05/0.1142, allocations: 184.2 kB / 467.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1145, allocations: 405.2 kB / 467.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.681e-05/0.1145, allocations: 108.9 kB / 467.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.1146, allocations: 109 kB / 467.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.338e-05/0.1146, allocations: 180.3 kB / 467.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/0.1147, allocations: 184.2 kB / 468.1 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.038e-05/0.1148, allocations: 176.3 kB / 468.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.734e-05/0.1148, allocations: 184.2 kB / 468.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.115, allocations: 311.8 kB / 468.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.1151, allocations: 185.9 kB / 469 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/0.1151, allocations: 176.5 kB / 469.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.1152, allocations: 113.2 kB / 469.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.1153, allocations: 184.2 kB / 469.4 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.1153, allocations: 101 kB / 469.5 MB, free: 7.035 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.042e-05/0.1154, allocations: 83.28 kB / 469.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1154, allocations: 0 / 469.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1156, allocations: 4 kB / 469.6 MB, free: 6.949 MB / 302.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.0001029/0.1157, allocations: 170.5 kB / 469.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.075e-05/0.1158, allocations: 16.06 kB / 469.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1158, allocations: 0 / 469.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.1158, allocations: 0 / 469.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1162, allocations: 465.5 kB / 470.2 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.1164, allocations: 160.2 kB / 470.4 MB, free: 6.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.1166, allocations: 0.6807 MB / 471.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.749e-05/0.1167, allocations: 0 / 471.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.1167, allocations: 7.438 kB / 471.1 MB, free: 5.398 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1167, allocations: 4 kB / 471.1 MB, free: 5.395 MB / 302.1 MB Notification: Performance of Templates: time 0.002144/0.1188, allocations: 201.2 kB / 471.3 MB, free: 5.199 MB / 302.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)