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.001368/0.001368, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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 1.504/1.504, allocations: 230.6 MB / 253.4 MB, free: 14.3 MB / 206.1 MB " [Timeout remaining time 178] 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.001649/0.001649, allocations: 207.5 kB / 310 MB, free: 3.078 MB / 238.1 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.05262/0.05262, allocations: 8.919 MB / 375.3 MB, free: 6.613 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002552/0.002552, allocations: 87.88 kB / 0.4903 GB, free: 44.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09908, allocations: 55.61 MB / 0.5447 GB, free: 4.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001905/0.101, allocations: 495.8 kB / 0.5451 GB, free: 4.109 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001752/0.1012, allocations: 23.89 kB / 0.5451 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.1012, allocations: 0 / 0.5451 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.1012, allocations: 3.938 kB / 0.5452 GB, free: 4.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.256e-05/0.1012, allocations: 0 / 0.5452 GB, free: 4.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.1014, allocations: 8 kB / 0.5452 GB, free: 4.074 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.824e-05/0.1014, allocations: 4 kB / 0.5452 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.1015, allocations: 3.984 kB / 0.5452 GB, free: 4.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.757e-05/0.1015, allocations: 7.938 kB / 0.5452 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/0.1016, allocations: 4 kB / 0.5452 GB, free: 4.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1016, allocations: 7.938 kB / 0.5452 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.1016, allocations: 0 / 0.5452 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.1016, allocations: 11.88 kB / 0.5452 GB, free: 4.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.1016, allocations: 0 / 0.5452 GB, free: 4.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.405e-05/0.1017, allocations: 15.91 kB / 0.5452 GB, free: 4.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1017, allocations: 0 / 0.5452 GB, free: 4.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1017, allocations: 0 / 0.5452 GB, free: 4.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1017, allocations: 0 / 0.5452 GB, free: 4.02 MB / 366.1 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.000395/0.1021, allocations: 246.4 kB / 0.5454 GB, free: 3.746 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1022, allocations: 11.98 kB / 0.5455 GB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.1022, allocations: 8.891 kB / 0.5455 GB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1023, allocations: 110.5 kB / 0.5456 GB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1023, allocations: 384 / 0.5456 GB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.1024, allocations: 8.375 kB / 0.5456 GB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1025, allocations: 34.25 kB / 0.5456 GB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1025, allocations: 192 / 0.5456 GB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1025, allocations: 3.938 kB / 0.5456 GB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1025, allocations: 0 / 0.5456 GB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.014e-05/0.1025, allocations: 11.94 kB / 0.5456 GB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.1027, allocations: 109.3 kB / 0.5457 GB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.432e-05/0.1028, allocations: 34.61 kB / 0.5458 GB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.1028, allocations: 12.86 kB / 0.5458 GB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.1028, allocations: 0 / 0.5458 GB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1029, allocations: 34.56 kB / 0.5458 GB, free: 3.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1029, allocations: 0 / 0.5458 GB, free: 3.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001604/0.103, allocations: 57.66 kB / 0.5459 GB, free: 3.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.1031, allocations: 51.41 kB / 0.5459 GB, free: 3.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.1032, allocations: 102 kB / 0.546 GB, free: 3.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1032, allocations: 25.7 kB / 0.546 GB, free: 3.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.1032, allocations: 84.14 kB / 0.5461 GB, free: 2.941 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.1033, allocations: 11.91 kB / 0.5461 GB, free: 2.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.1033, allocations: 13.72 kB / 0.5461 GB, free: 2.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1035, allocations: 318.8 kB / 0.5464 GB, free: 2.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.1035, allocations: 7.984 kB / 0.5465 GB, free: 2.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/0.1035, allocations: 11.94 kB / 0.5465 GB, free: 2.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.1035, allocations: 16.86 kB / 0.5465 GB, free: 2.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1035, allocations: 3.938 kB / 0.5465 GB, free: 2.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.325e-05/0.1036, allocations: 45.69 kB / 0.5465 GB, free: 2.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1036, allocations: 4 kB / 0.5465 GB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1036, allocations: 0 / 0.5465 GB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1037, allocations: 3.938 kB / 0.5465 GB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1038, allocations: 12 kB / 0.5465 GB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1038, allocations: 7.984 kB / 0.5466 GB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1038, allocations: 4 kB / 0.5466 GB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.1038, allocations: 3.938 kB / 0.5466 GB, free: 2.461 MB / 366.1 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 9.193e-05/0.1039, allocations: 109.8 kB / 0.5467 GB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.1039, allocations: 7.953 kB / 0.5467 GB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.1039, allocations: 3.688 kB / 0.5467 GB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1039, allocations: 3.938 kB / 0.5467 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1039, allocations: 0 / 0.5467 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1039, allocations: 0 / 0.5467 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.104, allocations: 105.3 kB / 0.5468 GB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.104, allocations: 4 kB / 0.5468 GB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.76e-05/0.1041, allocations: 11.94 kB / 0.5468 GB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1041, allocations: 0 / 0.5468 GB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1041, allocations: 4 kB / 0.5468 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1041, allocations: 0 / 0.5468 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1041, allocations: 3.938 kB / 0.5468 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.1043, allocations: 77.11 kB / 0.5469 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.1043, allocations: 0 / 0.5469 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1043, allocations: 4.031 kB / 0.5469 GB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.585e-05/0.1043, allocations: 0 / 0.5469 GB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.1043, allocations: 3.938 kB / 0.5469 GB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.1043, allocations: 4.062 kB / 0.5469 GB, free: 2.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.484e-05/0.1044, allocations: 83.66 kB / 0.547 GB, free: 1.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1044, allocations: 0 / 0.547 GB, free: 1.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001815/0.1046, allocations: 4 kB / 0.547 GB, free: 1.98 MB / 366.1 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 0.0001083/0.1047, allocations: 107 kB / 0.5471 GB, free: 1.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.465e-05/0.1048, allocations: 12 kB / 0.5471 GB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1048, allocations: 0 / 0.5471 GB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.81e-05/0.1048, allocations: 16.16 kB / 0.5471 GB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.1049, allocations: 0 / 0.5471 GB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.1052, allocations: 149.5 kB / 0.5472 GB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.212e-05/0.1053, allocations: 71.27 kB / 0.5473 GB, free: 1.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.1053, allocations: 7.438 kB / 0.5473 GB, free: 1.562 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1053, allocations: 0 / 0.5473 GB, free: 1.562 MB / 366.1 MB Notification: Performance of Templates: time 0.002114/0.1074, allocations: 495.7 kB / 0.5478 GB, free: 1.078 MB / 366.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.126697129569948] Failed to read output from testmodel.py, exit status != 0: 0.1154933487996459 0.132594196 0.027629512000000002 Calling exit ...