Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9551/0.9551, allocations: 177.2 MB / 200.3 MB, free: 5.312 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 166.6 kB / 257 MB, free: 12.76 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02405/0.02405, allocations: 6.652 MB / 266.9 MB, free: 3.016 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.457e-06/3.457e-06, allocations: 4 kB / 285.6 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.626e-05, allocations: 9.766 kB / 285.6 MB, free: 304 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.1075/0.1075, allocations: 493.6 kB / 286.1 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001166/0.1076, allocations: 18.2 kB / 286.1 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.1077, allocations: 0 / 286.1 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.1077, allocations: 2.5 kB / 286.1 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.772e-05/0.1077, allocations: 0.8438 kB / 286.1 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.424e-05/0.1078, allocations: 8.781 kB / 286.1 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.662e-05/0.1078, allocations: 15.3 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.1079, allocations: 4.484 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.1079, allocations: 4.906 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.108, allocations: 3.125 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.108, allocations: 2.656 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-06/0.108, allocations: 1.406 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.108, allocations: 2.797 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.276e-05/0.108, allocations: 6.641 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.843e-05/0.108, allocations: 6.781 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1081, allocations: 0.625 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1081, allocations: 4.234 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1081, allocations: 0 / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002207/0.1083, allocations: 225.5 kB / 286.4 MB, free: 22.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.1083, allocations: 9.344 kB / 286.4 MB, free: 22.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.1083, allocations: 4.531 kB / 286.4 MB, free: 22.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.561e-05/0.1084, allocations: 109.7 kB / 286.5 MB, free: 22.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1084, allocations: 3.203 kB / 286.5 MB, free: 22.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1084, allocations: 3.125 kB / 286.5 MB, free: 22.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.798e-05/0.1085, allocations: 35.73 kB / 286.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1085, allocations: 192 / 286.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.1085, allocations: 3.812 kB / 286.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1085, allocations: 384 / 286.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.731e-05/0.1085, allocations: 9.219 kB / 286.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.642e-05/0.1086, allocations: 63.91 kB / 286.7 MB, free: 21.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.37e-05/0.1086, allocations: 36.23 kB / 286.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.1086, allocations: 10.41 kB / 286.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.1086, allocations: 6.828 kB / 286.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.1087, allocations: 32.19 kB / 286.7 MB, free: 21.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.1087, allocations: 0 / 286.7 MB, free: 21.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 7.878e-05/0.1087, allocations: 40.61 kB / 286.8 MB, free: 21.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.1088, allocations: 56.33 kB / 286.8 MB, free: 21.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.401e-05/0.1088, allocations: 105.4 kB / 286.9 MB, free: 21.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-06/0.1088, allocations: 25.7 kB / 287 MB, free: 21.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.556e-06/0.1088, allocations: 80.86 kB / 287 MB, free: 21.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1088, allocations: 8 kB / 287 MB, free: 21.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.1088, allocations: 19.2 kB / 287.1 MB, free: 21.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.772e-05/0.1089, allocations: 319.1 kB / 287.4 MB, free: 21.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-06/0.1089, allocations: 1.781 kB / 287.4 MB, free: 21.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.1089, allocations: 5.172 kB / 287.4 MB, free: 21.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.342e-05/0.1089, allocations: 18.92 kB / 287.4 MB, free: 21.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1089, allocations: 0 / 287.4 MB, free: 21.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.267e-05/0.1089, allocations: 44.22 kB / 287.4 MB, free: 21.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.109, allocations: 5.812 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.109, allocations: 0.75 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.109, allocations: 0.5312 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.109, allocations: 13.75 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.109, allocations: 1.344 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.1091, allocations: 2.031 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.1091, allocations: 2.156 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 3.305e-05/0.1091, allocations: 112.5 kB / 287.6 MB, free: 21.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-06/0.1091, allocations: 4.969 kB / 287.6 MB, free: 21.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.1091, allocations: 8.859 kB / 287.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1091, allocations: 1.516 kB / 287.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1091, allocations: 1.375 kB / 287.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1091, allocations: 0.9375 kB / 287.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.144e-05/0.1092, allocations: 79.62 kB / 287.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.1092, allocations: 0 / 287.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.1092, allocations: 10.17 kB / 287.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1092, allocations: 1.062 kB / 287.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1092, allocations: 1.922 kB / 287.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1092, allocations: 2.375 kB / 287.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1092, allocations: 2.438 kB / 287.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.973e-05/0.1093, allocations: 74.17 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-06/0.1093, allocations: 1.828 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-06/0.1093, allocations: 2.562 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-06/0.1093, allocations: 5.406 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.1093, allocations: 5.406 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.1093, allocations: 1.719 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.035e-06/0.1093, allocations: 12.2 kB / 287.8 MB, free: 20.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1093, allocations: 0 / 287.8 MB, free: 20.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.848e-05/0.1094, allocations: 5 kB / 287.8 MB, free: 20.86 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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 (3): * Single equations (assignments): 3 * 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 5.558e-05/0.1095, allocations: 73.72 kB / 287.9 MB, free: 20.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.674e-05/0.1095, allocations: 17.11 kB / 287.9 MB, free: 20.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1095, allocations: 0.8125 kB / 287.9 MB, free: 20.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/0.1095, allocations: 11.22 kB / 287.9 MB, free: 20.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.318e-05/0.1096, allocations: 12.72 kB / 287.9 MB, free: 20.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001453/0.1097, allocations: 106.9 kB / 288 MB, free: 20.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.818e-05/0.1097, allocations: 59.98 kB / 288.1 MB, free: 20.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.174e-05/0.1098, allocations: 3.812 kB / 288.1 MB, free: 20.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.1098, allocations: 51.34 kB / 288.1 MB, free: 20.54 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1098, allocations: 0 / 288.1 MB, free: 20.54 MB / 266.7 MB Notification: Performance of Templates: time 0.001585/0.1114, allocations: 282.6 kB / 288.4 MB, free: 20.53 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4672931297682226]