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.001361/0.001361, allocations: 84.28 kB / 19.18 MB, free: 2.523 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.329/1.329, allocations: 177.1 MB / 199.4 MB, free: 8.445 MB / 190.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.001511/0.001511, allocations: 162.7 kB / 256 MB, free: 4.312 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.03797/0.03797, allocations: 6.66 MB / 319 MB, free: 5.375 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.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.743e-06/1.743e-06, allocations: 0 / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.837e-05, allocations: 6.219 kB / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001162/0.00119, allocations: 0.5036 MB / 446.4 MB, free: 24.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.001316, allocations: 23.91 kB / 446.4 MB, free: 24.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.001344, allocations: 0 / 446.4 MB, free: 24.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.001358, allocations: 0 / 446.4 MB, free: 24.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.001409, allocations: 7.922 kB / 446.4 MB, free: 24.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.001515, allocations: 15.88 kB / 446.4 MB, free: 24.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.821e-05/0.001573, allocations: 11.94 kB / 446.4 MB, free: 24.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.361e-05/0.001636, allocations: 3.984 kB / 446.4 MB, free: 24.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.001681, allocations: 7.984 kB / 446.4 MB, free: 24.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.001753, allocations: 11.92 kB / 446.5 MB, free: 24.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.001774, allocations: 0 / 446.5 MB, free: 24.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.001784, allocations: 0 / 446.5 MB, free: 24.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.001803, allocations: 8 kB / 446.5 MB, free: 24.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.001836, allocations: 4 kB / 446.5 MB, free: 24.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.305e-05/0.001909, allocations: 8 kB / 446.5 MB, free: 24.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.001912, allocations: 3.984 kB / 446.5 MB, free: 24.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.51e-07/0.001913, allocations: 0 / 446.5 MB, free: 24.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.001918, allocations: 0 / 446.5 MB, free: 24.59 MB / 334.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.0003913/0.002309, allocations: 246.4 kB / 446.7 MB, free: 24.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.002357, allocations: 11.98 kB / 446.7 MB, free: 24.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.002397, allocations: 4.891 kB / 446.7 MB, free: 24.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.807e-05/0.002495, allocations: 109.8 kB / 446.8 MB, free: 24.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.00251, allocations: 4.375 kB / 446.9 MB, free: 24.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.002538, allocations: 4.375 kB / 446.9 MB, free: 24.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.002644, allocations: 34.27 kB / 446.9 MB, free: 24.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.002655, allocations: 4.125 kB / 446.9 MB, free: 24.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.002666, allocations: 8.297 kB / 446.9 MB, free: 24.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.002672, allocations: 384 / 446.9 MB, free: 24.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.463e-05/0.002717, allocations: 7.938 kB / 446.9 MB, free: 24.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.002856, allocations: 105.3 kB / 447 MB, free: 23.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.369e-05/0.00294, allocations: 38.59 kB / 447.1 MB, free: 23.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.00297, allocations: 12.86 kB / 447.1 MB, free: 23.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.002984, allocations: 8 kB / 447.1 MB, free: 23.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.003008, allocations: 38.58 kB / 447.1 MB, free: 23.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.003009, allocations: 0 / 447.1 MB, free: 23.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001534/0.003162, allocations: 41.7 kB / 447.1 MB, free: 23.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.003198, allocations: 55.39 kB / 447.2 MB, free: 23.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.098e-05/0.003249, allocations: 101.8 kB / 447.3 MB, free: 23.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.003258, allocations: 29.7 kB / 447.3 MB, free: 23.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.003291, allocations: 84.08 kB / 447.4 MB, free: 23.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.003321, allocations: 15.84 kB / 447.4 MB, free: 23.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.003346, allocations: 17.7 kB / 447.4 MB, free: 23.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 5.36e-05/0.0034, allocations: 314.8 kB / 447.8 MB, free: 23.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.003415, allocations: 8 kB / 447.8 MB, free: 23.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-06/0.003424, allocations: 4 kB / 447.8 MB, free: 23.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.758e-05/0.003462, allocations: 28.78 kB / 447.8 MB, free: 23.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.003464, allocations: 0 / 447.8 MB, free: 23.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.477e-05/0.003519, allocations: 45.7 kB / 447.8 MB, free: 23.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.00353, allocations: 6.344 kB / 447.8 MB, free: 23.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.003535, allocations: 3.984 kB / 447.8 MB, free: 23.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.003552, allocations: 0 / 447.8 MB, free: 23.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.003648, allocations: 8 kB / 447.9 MB, free: 23.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.003653, allocations: 0 / 447.9 MB, free: 23.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.003677, allocations: 7.938 kB / 447.9 MB, free: 23.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.003683, allocations: 4 kB / 447.9 MB, free: 23.03 MB / 334.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 4.899e-05/0.003732, allocations: 105.8 kB / 448 MB, free: 22.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.003739, allocations: 7.891 kB / 448 MB, free: 22.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.003762, allocations: 11.69 kB / 448 MB, free: 22.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.003764, allocations: 3.984 kB / 448 MB, free: 22.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.003769, allocations: 0 / 448 MB, free: 22.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.003773, allocations: 3.938 kB / 448 MB, free: 22.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.57e-05/0.003829, allocations: 105.3 kB / 448.1 MB, free: 22.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.003829, allocations: 0 / 448.1 MB, free: 22.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.003892, allocations: 11.98 kB / 448.1 MB, free: 22.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.003894, allocations: 4 kB / 448.1 MB, free: 22.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.003901, allocations: 0.5156 kB / 448.1 MB, free: 22.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.003903, allocations: 4 kB / 448.1 MB, free: 22.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.003903, allocations: 0 / 448.1 MB, free: 22.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.004013, allocations: 83.17 kB / 448.2 MB, free: 22.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-06/0.004019, allocations: 0 / 448.2 MB, free: 22.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.004031, allocations: 4 kB / 448.2 MB, free: 22.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.004047, allocations: 0 / 448.2 MB, free: 22.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.004064, allocations: 11.95 kB / 448.2 MB, free: 22.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.004066, allocations: 0 / 448.2 MB, free: 22.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 1.902e-05/0.004085, allocations: 83.34 kB / 448.3 MB, free: 22.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.004085, allocations: 0 / 448.3 MB, free: 22.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001717/0.004257, allocations: 7.938 kB / 448.3 MB, free: 22.53 MB / 334.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 5.075e-05/0.004308, allocations: 91.25 kB / 448.4 MB, free: 22.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.228e-05/0.00439, allocations: 15.98 kB / 448.4 MB, free: 22.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.004391, allocations: 0 / 448.4 MB, free: 22.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.26e-05/0.004404, allocations: 12 kB / 448.4 MB, free: 22.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.004538, allocations: 3.938 kB / 448.4 MB, free: 22.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.004811, allocations: 148.7 kB / 448.6 MB, free: 22.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.606e-05/0.004837, allocations: 59.36 kB / 448.6 MB, free: 22.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.24e-05/0.00485, allocations: 3.984 kB / 448.6 MB, free: 22.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.004867, allocations: 8.875 kB / 448.6 MB, free: 22.14 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.004868, allocations: 0 / 448.6 MB, free: 22.14 MB / 334.1 MB Notification: Performance of Templates: time 0.002359/0.007226, allocations: 261.9 kB / 448.9 MB, free: 21.89 MB / 334.1 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.01769519969821] Failed to read output from testmodel.py, exit status != 0: 0.012924965471029282 0.022440471 0.018572135 Calling exit ...