Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.0007663/0.0007663, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.8821/0.8821, allocations: 177.2 MB / 200.2 MB, free: 5.934 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.001058/0.001058, allocations: 160.6 kB / 256.7 MB, free: 13.34 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.02234/0.02234, allocations: 6.661 MB / 319.8 MB, free: 26.76 MB / 266.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.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.981e-05, allocations: 2.281 kB / 446.6 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.0009061/0.000926, allocations: 0.5039 MB / 447.1 MB, free: 36.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000116/0.001042, allocations: 19.91 kB / 447.2 MB, free: 36.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.001066, allocations: 4 kB / 447.2 MB, free: 36.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.001082, allocations: 0 / 447.2 MB, free: 36.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.00112, allocations: 7.922 kB / 447.2 MB, free: 36.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.001226, allocations: 3.938 kB / 447.2 MB, free: 36.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.001277, allocations: 15.94 kB / 447.2 MB, free: 36.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.001319, allocations: 3.984 kB / 447.2 MB, free: 36.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.659e-05/0.001356, allocations: 11.92 kB / 447.2 MB, free: 36.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.721e-05/0.001403, allocations: 11.98 kB / 447.2 MB, free: 36.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.001424, allocations: 0 / 447.2 MB, free: 36.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.735e-06/0.001431, allocations: 4 kB / 447.2 MB, free: 36.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.001445, allocations: 0 / 447.2 MB, free: 36.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.001462, allocations: 3.938 kB / 447.2 MB, free: 36.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.734e-05/0.00152, allocations: 23.86 kB / 447.2 MB, free: 36.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.001521, allocations: 0 / 447.2 MB, free: 36.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.001522, allocations: 0 / 447.2 MB, free: 36.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.001526, allocations: 0 / 447.2 MB, free: 36.54 MB / 330.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.0002417/0.001768, allocations: 238.4 kB / 447.5 MB, free: 36.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.001803, allocations: 8.031 kB / 447.5 MB, free: 36.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.001831, allocations: 20.88 kB / 447.5 MB, free: 36.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.332e-05/0.001884, allocations: 101.8 kB / 447.6 MB, free: 36.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.001895, allocations: 4.375 kB / 447.6 MB, free: 36.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.001916, allocations: 384 / 447.6 MB, free: 36.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.254e-05/0.001989, allocations: 34.27 kB / 447.6 MB, free: 36.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.002, allocations: 8.109 kB / 447.7 MB, free: 36.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.002009, allocations: 4.359 kB / 447.7 MB, free: 36.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.002012, allocations: 384 / 447.7 MB, free: 36.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.022e-05/0.002043, allocations: 7.938 kB / 447.7 MB, free: 36.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.282e-05/0.002135, allocations: 105.3 kB / 447.8 MB, free: 35.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.589e-05/0.002191, allocations: 43 kB / 447.8 MB, free: 35.87 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.002211, allocations: 12.86 kB / 447.8 MB, free: 35.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.002218, allocations: 0 / 447.8 MB, free: 35.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.002231, allocations: 38.58 kB / 447.9 MB, free: 35.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 4.61e-07/0.002232, allocations: 0 / 447.9 MB, free: 35.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001138/0.002345, allocations: 45.7 kB / 447.9 MB, free: 35.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.002363, allocations: 55.39 kB / 448 MB, free: 35.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.316e-05/0.002396, allocations: 101.8 kB / 448.1 MB, free: 35.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-06/0.002401, allocations: 25.7 kB / 448.1 MB, free: 35.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.571e-05/0.002417, allocations: 80.14 kB / 448.2 MB, free: 35.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.002439, allocations: 19.84 kB / 448.2 MB, free: 35.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.002462, allocations: 21.7 kB / 448.2 MB, free: 35.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.787e-05/0.002489, allocations: 310.8 kB / 448.5 MB, free: 35.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.002501, allocations: 8 kB / 448.5 MB, free: 35.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-06/0.00251, allocations: 4 kB / 448.5 MB, free: 35.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.002538, allocations: 28.78 kB / 448.5 MB, free: 35.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.00254, allocations: 0 / 448.5 MB, free: 35.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.668e-05/0.002576, allocations: 41.7 kB / 448.6 MB, free: 35.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.002586, allocations: 7.984 kB / 448.6 MB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.00259, allocations: 4 kB / 448.6 MB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.002602, allocations: 7.938 kB / 448.6 MB, free: 35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/0.002677, allocations: 8 kB / 448.6 MB, free: 34.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.002682, allocations: 0 / 448.6 MB, free: 34.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.154e-05/0.002693, allocations: 11.94 kB / 448.6 MB, free: 34.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.002697, allocations: 0 / 448.6 MB, free: 34.98 MB / 330.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.334e-05/0.00273, allocations: 113.7 kB / 448.7 MB, free: 34.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-06/0.002734, allocations: 7.953 kB / 448.7 MB, free: 34.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.002749, allocations: 8.188 kB / 448.8 MB, free: 34.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.00275, allocations: 0 / 448.8 MB, free: 34.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.002754, allocations: 0 / 448.8 MB, free: 34.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.002757, allocations: 3.938 kB / 448.8 MB, free: 34.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.546e-05/0.002792, allocations: 105.3 kB / 448.9 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.002793, allocations: 0 / 448.9 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.002831, allocations: 15.97 kB / 448.9 MB, free: 34.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.61e-07/0.002832, allocations: 0 / 448.9 MB, free: 34.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.002837, allocations: 4 kB / 448.9 MB, free: 34.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.002838, allocations: 3.984 kB / 448.9 MB, free: 34.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.002839, allocations: 0 / 448.9 MB, free: 34.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.326e-05/0.002922, allocations: 79.73 kB / 449 MB, free: 34.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.002928, allocations: 4.031 kB / 449 MB, free: 34.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.002936, allocations: 0 / 449 MB, free: 34.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-06/0.002943, allocations: 0 / 449 MB, free: 34.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.002955, allocations: 11.98 kB / 449 MB, free: 34.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.002956, allocations: 0 / 449 MB, free: 34.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.214e-05/0.002968, allocations: 83.28 kB / 449.1 MB, free: 34.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002968, allocations: 0 / 449.1 MB, free: 34.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001154/0.003084, allocations: 7.938 kB / 449.1 MB, free: 34.48 MB / 330.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 4.781e-05/0.003131, allocations: 91.25 kB / 449.2 MB, free: 34.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.293e-05/0.003194, allocations: 19.98 kB / 449.2 MB, free: 34.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.003196, allocations: 0 / 449.2 MB, free: 34.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.003203, allocations: 4 kB / 449.2 MB, free: 34.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.9e-05/0.003302, allocations: 7.938 kB / 449.2 MB, free: 34.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.003551, allocations: 178.8 kB / 449.4 MB, free: 34.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.305e-05/0.003574, allocations: 55.36 kB / 449.4 MB, free: 34.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.003591, allocations: 16.44 kB / 449.4 MB, free: 34.05 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.003592, allocations: 0 / 449.4 MB, free: 34.05 MB / 330.7 MB Notification: Performance of Templates: time 0.001144/0.004735, allocations: 0.4919 MB / 449.9 MB, free: 33.56 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.283808170817792] Failed to read output from testmodel.py, exit status != 0: 0.008516484871506691 0.014523563000000001 0.011737436 Calling exit ...