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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 116.7 kB / 17.08 MB, free: 5.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 242.7 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 195.8 kB / 295 MB, free: 12.65 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03858/0.03858, allocations: 8.792 MB / 356 MB, free: 15.89 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00223/0.00223, allocations: 83.88 kB / 473.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2783, allocations: 51.55 MB / 0.5125 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001559/0.2799, allocations: 0.4981 MB / 0.513 GB, free: 12.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001538/0.28, allocations: 35.66 kB / 0.5131 GB, free: 12.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.2801, allocations: 0 / 0.5131 GB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.2801, allocations: 0 / 0.5131 GB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.2802, allocations: 8.875 kB / 0.5131 GB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001099/0.2803, allocations: 5.125 kB / 0.5131 GB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.2804, allocations: 19.64 kB / 0.5131 GB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.2804, allocations: 0.9375 kB / 0.5131 GB, free: 12.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.2804, allocations: 7.312 kB / 0.5131 GB, free: 12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.2805, allocations: 7.234 kB / 0.5131 GB, free: 12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2805, allocations: 0 / 0.5131 GB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.2805, allocations: 1.094 kB / 0.5131 GB, free: 12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.2806, allocations: 8.953 kB / 0.5131 GB, free: 11.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.2806, allocations: 7.344 kB / 0.5131 GB, free: 11.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.048e-05/0.2807, allocations: 17.8 kB / 0.5131 GB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.2807, allocations: 5.297 kB / 0.5131 GB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2807, allocations: 0 / 0.5131 GB, free: 11.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2807, allocations: 0 / 0.5131 GB, free: 11.97 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.0004167/0.2811, allocations: 324 kB / 0.5135 GB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2812, allocations: 9.094 kB / 0.5135 GB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.2812, allocations: 6.078 kB / 0.5135 GB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.2813, allocations: 165.3 kB / 0.5136 GB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2814, allocations: 2.281 kB / 0.5136 GB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.2814, allocations: 5.344 kB / 0.5136 GB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.681e-05/0.2815, allocations: 38.09 kB / 0.5137 GB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2815, allocations: 1.25 kB / 0.5137 GB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2815, allocations: 3.938 kB / 0.5137 GB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.2815, allocations: 1.781 kB / 0.5137 GB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.2816, allocations: 7.688 kB / 0.5137 GB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.2818, allocations: 153.1 kB / 0.5138 GB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.968e-05/0.2819, allocations: 40.14 kB / 0.5139 GB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.2819, allocations: 13.27 kB / 0.5139 GB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.2819, allocations: 1.688 kB / 0.5139 GB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.2819, allocations: 34.56 kB / 0.5139 GB, free: 11.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.2819, allocations: 1.312 kB / 0.5139 GB, free: 11.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000156/0.2821, allocations: 58.14 kB / 0.514 GB, free: 11.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.2821, allocations: 51.41 kB / 0.514 GB, free: 10.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.2822, allocations: 98.28 kB / 0.5141 GB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2823, allocations: 29.7 kB / 0.5141 GB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.2823, allocations: 85.33 kB / 0.5142 GB, free: 10.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.2823, allocations: 13.03 kB / 0.5142 GB, free: 10.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.2824, allocations: 17.25 kB / 0.5143 GB, free: 10.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2825, allocations: 311.9 kB / 0.5146 GB, free: 10.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.2825, allocations: 7.328 kB / 0.5146 GB, free: 10.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.2826, allocations: 11.34 kB / 0.5146 GB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.819e-05/0.2826, allocations: 16.45 kB / 0.5146 GB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2826, allocations: 5.062 kB / 0.5146 GB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.302e-05/0.2827, allocations: 54.53 kB / 0.5146 GB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2827, allocations: 9.188 kB / 0.5147 GB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2827, allocations: 3.938 kB / 0.5147 GB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2827, allocations: 1.062 kB / 0.5147 GB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.2828, allocations: 6.438 kB / 0.5147 GB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.2828, allocations: 5.078 kB / 0.5147 GB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.2829, allocations: 1.125 kB / 0.5147 GB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.2829, allocations: 1.062 kB / 0.5147 GB, free: 10.31 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 8.382e-05/0.283, allocations: 122.8 kB / 0.5148 GB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.283, allocations: 0.9375 kB / 0.5148 GB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.283, allocations: 8.469 kB / 0.5148 GB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.283, allocations: 1.125 kB / 0.5148 GB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.283, allocations: 0 / 0.5148 GB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.283, allocations: 0 / 0.5148 GB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.2831, allocations: 154.3 kB / 0.5149 GB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2832, allocations: 0 / 0.5149 GB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.2832, allocations: 11.5 kB / 0.515 GB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2832, allocations: 5.016 kB / 0.515 GB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2832, allocations: 3.938 kB / 0.515 GB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2833, allocations: 5.5 kB / 0.515 GB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2833, allocations: 0 / 0.515 GB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.2834, allocations: 77.64 kB / 0.515 GB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.2834, allocations: 77.11 kB / 0.5151 GB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.2835, allocations: 5.125 kB / 0.5151 GB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.661e-05/0.2835, allocations: 1.375 kB / 0.5151 GB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.2835, allocations: 4.547 kB / 0.5151 GB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.2835, allocations: 5.469 kB / 0.5151 GB, free: 9.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.696e-05/0.2836, allocations: 81.91 kB / 0.5152 GB, free: 9.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2836, allocations: 0 / 0.5152 GB, free: 9.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001685/0.2838, allocations: 3.844 kB / 0.5152 GB, free: 9.699 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 8.778e-05/0.2838, allocations: 92.27 kB / 0.5153 GB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.822e-05/0.284, allocations: 27.09 kB / 0.5153 GB, free: 9.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.284, allocations: 0 / 0.5153 GB, free: 9.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.284, allocations: 5.844 kB / 0.5153 GB, free: 9.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.2841, allocations: 9.125 kB / 0.5153 GB, free: 9.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.2845, allocations: 200.5 kB / 0.5155 GB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2848, allocations: 0.6818 MB / 0.5162 GB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.2849, allocations: 12.66 kB / 0.5162 GB, free: 8.676 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.2849, allocations: 0 / 0.5162 GB, free: 8.676 MB / 334.1 MB Notification: Performance of Templates: time 0.002012/0.2869, allocations: 489 kB / 0.5167 GB, free: 8.438 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: 6.399870772846043] Failed to read output from testmodel.py, exit status != 0: 0.2931526298634708 0.306099918 0.022954540000000002 Calling exit ...