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.001102/0.001102, allocations: 80.94 kB / 19.94 MB, free: 4.547 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 1.024/1.024, allocations: 177.2 MB / 200.3 MB, free: 5.293 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.001174/0.001174, allocations: 156.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.03181/0.03181, allocations: 6.664 MB / 266.9 MB, free: 3.012 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 1.553e-06/1.553e-06, allocations: 0 / 285.7 MB, free: 272 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.694e-05, allocations: 2.312 kB / 285.7 MB, free: 268 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.1158/0.1158, allocations: 0.5308 MB / 286.2 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001449/0.116, allocations: 21.36 kB / 286.2 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.116, allocations: 0 / 286.2 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.116, allocations: 1.781 kB / 286.2 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.286e-05/0.116, allocations: 6.031 kB / 286.2 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.1162, allocations: 3.609 kB / 286.2 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.154e-05/0.1162, allocations: 9.797 kB / 286.2 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.1162, allocations: 3.594 kB / 286.2 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.1163, allocations: 6.328 kB / 286.2 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.1163, allocations: 5.906 kB / 286.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1164, allocations: 0.5938 kB / 286.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-06/0.1164, allocations: 3.344 kB / 286.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.1164, allocations: 2.656 kB / 286.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.1164, allocations: 7.969 kB / 286.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.11e-05/0.1164, allocations: 3.609 kB / 286.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1164, allocations: 1.719 kB / 286.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1165, allocations: 5.391 kB / 286.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1165, allocations: 0 / 286.3 MB, free: 21.8 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.0002197/0.1167, allocations: 223.4 kB / 286.5 MB, free: 21.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1167, allocations: 11.44 kB / 286.5 MB, free: 21.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.1167, allocations: 1.594 kB / 286.5 MB, free: 21.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.255e-05/0.1168, allocations: 114.2 kB / 286.6 MB, free: 21.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1168, allocations: 2.375 kB / 286.6 MB, free: 21.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.1168, allocations: 3.406 kB / 286.6 MB, free: 21.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.798e-05/0.1169, allocations: 33.33 kB / 286.7 MB, free: 21.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1169, allocations: 0.7188 kB / 286.7 MB, free: 21.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-06/0.1169, allocations: 1.188 kB / 286.7 MB, free: 21.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1169, allocations: 1.875 kB / 286.7 MB, free: 21.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.661e-05/0.1169, allocations: 13.27 kB / 286.7 MB, free: 21.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.948e-05/0.117, allocations: 63.56 kB / 286.7 MB, free: 21.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.932e-05/0.117, allocations: 33.34 kB / 286.8 MB, free: 21.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.1171, allocations: 13.67 kB / 286.8 MB, free: 21.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.1171, allocations: 4 kB / 286.8 MB, free: 21.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.1171, allocations: 32.06 kB / 286.8 MB, free: 21.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.1171, allocations: 0 / 286.8 MB, free: 21.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 8.829e-05/0.1172, allocations: 42.89 kB / 286.9 MB, free: 21.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.1172, allocations: 52.16 kB / 286.9 MB, free: 21.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.92e-05/0.1172, allocations: 105.9 kB / 287 MB, free: 21.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-06/0.1172, allocations: 29.67 kB / 287 MB, free: 21.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.187e-05/0.1173, allocations: 82.77 kB / 287.1 MB, free: 20.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.1173, allocations: 9.359 kB / 287.1 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.1173, allocations: 20.61 kB / 287.2 MB, free: 20.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.188e-05/0.1173, allocations: 320.9 kB / 287.5 MB, free: 20.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-06/0.1173, allocations: 3.516 kB / 287.5 MB, free: 20.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.727e-06/0.1173, allocations: 5.062 kB / 287.5 MB, free: 20.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.1174, allocations: 13.55 kB / 287.5 MB, free: 20.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1174, allocations: 0 / 287.5 MB, free: 20.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.242e-05/0.1174, allocations: 45.06 kB / 287.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1174, allocations: 5.531 kB / 287.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1174, allocations: 0 / 287.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1174, allocations: 2.406 kB / 287.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1176, allocations: 11.95 kB / 287.6 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.1176, allocations: 1.906 kB / 287.6 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-06/0.1176, allocations: 0.5 kB / 287.6 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1176, allocations: 7.641 kB / 287.6 MB, free: 20.58 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.278e-05/0.1176, allocations: 110.6 kB / 287.7 MB, free: 20.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-06/0.1176, allocations: 1.781 kB / 287.7 MB, free: 20.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.1176, allocations: 7.562 kB / 287.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1176, allocations: 1.688 kB / 287.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1176, allocations: 0.7969 kB / 287.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1177, allocations: 2 kB / 287.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.984e-05/0.1177, allocations: 77.86 kB / 287.8 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1177, allocations: 0.875 kB / 287.8 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.1178, allocations: 12.62 kB / 287.8 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1178, allocations: 0.9375 kB / 287.8 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1178, allocations: 1.719 kB / 287.8 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1178, allocations: 3.328 kB / 287.8 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1178, allocations: 4.812 kB / 287.8 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.533e-05/0.1178, allocations: 75.81 kB / 287.9 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-06/0.1179, allocations: 2.5 kB / 287.9 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.1179, allocations: 3 kB / 287.9 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.1179, allocations: 1.938 kB / 287.9 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.1179, allocations: 2.562 kB / 287.9 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.1179, allocations: 0.9688 kB / 287.9 MB, free: 20.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.798e-06/0.1179, allocations: 11.7 kB / 287.9 MB, free: 20.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1179, allocations: 1.062 kB / 287.9 MB, free: 20.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.809e-05/0.118, allocations: 4.312 kB / 287.9 MB, free: 20.3 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 6.331e-05/0.118, allocations: 73.94 kB / 288 MB, free: 20.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.343e-05/0.1181, allocations: 21.44 kB / 288 MB, free: 20.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1181, allocations: 0 / 288 MB, free: 20.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.1181, allocations: 15.12 kB / 288 MB, free: 20.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.504e-05/0.1182, allocations: 6.062 kB / 288 MB, free: 20.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001501/0.1183, allocations: 107.5 kB / 288.1 MB, free: 20.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.831e-05/0.1183, allocations: 59.72 kB / 288.2 MB, free: 20.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.058e-05/0.1184, allocations: 2.875 kB / 288.2 MB, free: 20.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.1184, allocations: 51.09 kB / 288.2 MB, free: 19.98 MB / 266.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1184, allocations: 1.438 kB / 288.2 MB, free: 19.98 MB / 266.7 MB Notification: Performance of Templates: time 0.001802/0.1202, allocations: 340.8 kB / 288.6 MB, free: 19.96 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.553124363999814]