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.0007923/0.0007923, 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.8709/0.8709, allocations: 177.2 MB / 200.2 MB, free: 5.93 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.00103/0.00103, allocations: 156.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.02432/0.02432, allocations: 6.657 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.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.352e-06/1.352e-06, allocations: 0 / 446.6 MB, free: 37.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.813e-05, allocations: 6.281 kB / 446.6 MB, free: 37.13 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.0008261/0.0008442, allocations: 0.4883 MB / 447.1 MB, free: 36.65 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000118/0.0009622, allocations: 19.91 kB / 447.1 MB, free: 36.63 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.0009827, allocations: 0 / 447.1 MB, free: 36.63 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.0009961, allocations: 0 / 447.1 MB, free: 36.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.426e-05/0.00102, allocations: 3.938 kB / 447.1 MB, free: 36.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.001129, allocations: 7.922 kB / 447.2 MB, free: 36.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.023e-05/0.001179, allocations: 11.98 kB / 447.2 MB, free: 36.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.001221, allocations: 4 kB / 447.2 MB, free: 36.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.001252, allocations: 4 kB / 447.2 MB, free: 36.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.001298, allocations: 11.92 kB / 447.2 MB, free: 36.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.001316, allocations: 0 / 447.2 MB, free: 36.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-06/0.001323, allocations: 0 / 447.2 MB, free: 36.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.001336, allocations: 4 kB / 447.2 MB, free: 36.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.417e-05/0.00135, allocations: 7.938 kB / 447.2 MB, free: 36.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.014e-05/0.0014, allocations: 15.91 kB / 447.2 MB, free: 36.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.001402, allocations: 0 / 447.2 MB, free: 36.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.001403, allocations: 0 / 447.2 MB, free: 36.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.001406, allocations: 0 / 447.2 MB, free: 36.56 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.0002303/0.001637, allocations: 246.4 kB / 447.5 MB, free: 36.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.001668, allocations: 8.031 kB / 447.5 MB, free: 36.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.001692, allocations: 12.89 kB / 447.5 MB, free: 36.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.813e-05/0.00174, allocations: 101.8 kB / 447.6 MB, free: 36.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.001749, allocations: 384 / 447.6 MB, free: 36.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.001768, allocations: 4.375 kB / 447.6 MB, free: 36.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.16e-05/0.001839, allocations: 38.25 kB / 447.6 MB, free: 36.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.001846, allocations: 192 / 447.6 MB, free: 36.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.001854, allocations: 4.312 kB / 447.6 MB, free: 36.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.001858, allocations: 4.312 kB / 447.6 MB, free: 36.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.796e-05/0.001886, allocations: 7.938 kB / 447.6 MB, free: 36.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.624e-05/0.001972, allocations: 105.4 kB / 447.7 MB, free: 35.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.294e-05/0.002025, allocations: 34.98 kB / 447.8 MB, free: 35.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.002047, allocations: 20.94 kB / 447.8 MB, free: 35.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.002054, allocations: 0 / 447.8 MB, free: 35.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/0.002066, allocations: 30.56 kB / 447.8 MB, free: 35.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 5.61e-07/0.002067, allocations: 3.938 kB / 447.8 MB, free: 35.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001098/0.002177, allocations: 49.69 kB / 447.9 MB, free: 35.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.725e-05/0.002194, allocations: 51.41 kB / 447.9 MB, free: 35.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.061e-05/0.002225, allocations: 102.1 kB / 448 MB, free: 35.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-06/0.002229, allocations: 25.7 kB / 448 MB, free: 35.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.443e-05/0.002243, allocations: 80.14 kB / 448.1 MB, free: 35.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.002266, allocations: 23.89 kB / 448.1 MB, free: 35.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/0.002285, allocations: 9.719 kB / 448.2 MB, free: 35.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.565e-05/0.00231, allocations: 318.8 kB / 448.5 MB, free: 35.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.00232, allocations: 4 kB / 448.5 MB, free: 35.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.896e-06/0.002329, allocations: 8.016 kB / 448.5 MB, free: 35.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.871e-05/0.002358, allocations: 28.8 kB / 448.5 MB, free: 35.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.00236, allocations: 4 kB / 448.5 MB, free: 35.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.608e-05/0.002396, allocations: 49.69 kB / 448.6 MB, free: 35.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.002407, allocations: 4 kB / 448.6 MB, free: 35.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.002411, allocations: 0 / 448.6 MB, free: 35.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.002425, allocations: 0 / 448.6 MB, free: 35.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.002502, allocations: 12 kB / 448.6 MB, free: 35.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.002506, allocations: 0 / 448.6 MB, free: 35.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.287e-06/0.002516, allocations: 7.938 kB / 448.6 MB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-06/0.002518, allocations: 0 / 448.6 MB, free: 35.01 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 2.824e-05/0.002546, allocations: 109.8 kB / 448.7 MB, free: 34.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-06/0.002551, allocations: 11.94 kB / 448.7 MB, free: 34.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.361e-05/0.002565, allocations: 11.62 kB / 448.7 MB, free: 34.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.002566, allocations: 0 / 448.7 MB, free: 34.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.00257, allocations: 0 / 448.7 MB, free: 34.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.002572, allocations: 3.938 kB / 448.7 MB, free: 34.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.151e-05/0.002604, allocations: 105.3 kB / 448.8 MB, free: 34.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.002604, allocations: 3.938 kB / 448.8 MB, free: 34.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.002641, allocations: 11.98 kB / 448.8 MB, free: 34.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.002642, allocations: 0 / 448.8 MB, free: 34.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.002648, allocations: 4 kB / 448.8 MB, free: 34.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.002648, allocations: 7.984 kB / 448.8 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.002649, allocations: 0 / 448.8 MB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.005e-05/0.002729, allocations: 75.73 kB / 448.9 MB, free: 34.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-06/0.002733, allocations: 0 / 448.9 MB, free: 34.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-06/0.002741, allocations: 8.016 kB / 448.9 MB, free: 34.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-06/0.002748, allocations: 4 kB / 448.9 MB, free: 34.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.002759, allocations: 4.062 kB / 448.9 MB, free: 34.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-06/0.00276, allocations: 3.938 kB / 448.9 MB, free: 34.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.202e-05/0.002772, allocations: 79.28 kB / 449 MB, free: 34.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.002772, allocations: 0 / 449 MB, free: 34.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001121/0.002884, allocations: 7.938 kB / 449 MB, free: 34.51 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.378e-05/0.002928, allocations: 91.25 kB / 449.1 MB, free: 34.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.188e-05/0.00299, allocations: 15.98 kB / 449.1 MB, free: 34.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.002991, allocations: 0 / 449.1 MB, free: 34.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.885e-06/0.002999, allocations: 8.422 kB / 449.1 MB, free: 34.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.857e-05/0.003098, allocations: 8 kB / 449.1 MB, free: 34.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00017/0.003268, allocations: 134.5 kB / 449.3 MB, free: 34.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.23e-05/0.00329, allocations: 59.34 kB / 449.3 MB, free: 34.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.003308, allocations: 12.5 kB / 449.4 MB, free: 34.12 MB / 330.7 MB Notification: Performance of SimCode: time 3.5e-07/0.003308, allocations: 0 / 449.4 MB, free: 34.12 MB / 330.7 MB Notification: Performance of Templates: time 0.001105/0.004413, allocations: 0.4959 MB / 449.8 MB, free: 33.63 MB / 330.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.020995765924454] Failed to read output from testmodel.py, exit status != 0: 0.007878082804381847 0.013435959 0.010848946 Calling exit ...