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.001303/0.001303, allocations: 118 kB / 17.13 MB, free: 5.941 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.348/1.348, allocations: 225.6 MB / 245.5 MB, free: 14.21 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.001452/0.001452, allocations: 200.3 kB / 300.5 MB, free: 9.836 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.04142/0.04142, allocations: 8.926 MB / 364.3 MB, free: 10.18 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.002372/0.002372, allocations: 83.98 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.09028, allocations: 54.42 MB / 0.5289 GB, free: 0.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001685/0.09197, allocations: 0.4994 MB / 0.5294 GB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001336/0.0921, allocations: 19.97 kB / 0.5294 GB, free: 364 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.09213, allocations: 0 / 0.5294 GB, free: 364 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.09215, allocations: 3.938 kB / 0.5294 GB, free: 360 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.143e-05/0.09219, allocations: 3.984 kB / 0.5294 GB, free: 356 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.09229, allocations: 7.922 kB / 0.5295 GB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.09236, allocations: 15.94 kB / 0.5295 GB, free: 332 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.0924, allocations: 0 / 0.5295 GB, free: 332 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.09242, allocations: 11.92 kB / 0.5295 GB, free: 320 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.09247, allocations: 8 kB / 0.5295 GB, free: 312 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.09248, allocations: 0 / 0.5295 GB, free: 312 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.09249, allocations: 0 / 0.5295 GB, free: 312 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.09251, allocations: 3.938 kB / 0.5295 GB, free: 308 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.09253, allocations: 11.98 kB / 0.5295 GB, free: 296 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.109e-05/0.09259, allocations: 15.86 kB / 0.5295 GB, free: 280 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.09259, allocations: 0 / 0.5295 GB, free: 280 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.0926, allocations: 0 / 0.5295 GB, free: 280 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.0926, allocations: 0 / 0.5295 GB, free: 280 kB / 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.0004114/0.09301, allocations: 331.5 kB / 0.5298 GB, free: 15.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.09305, allocations: 12.03 kB / 0.5298 GB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.09307, allocations: 0.9375 kB / 0.5298 GB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.09321, allocations: 168.3 kB / 0.53 GB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.09322, allocations: 384 / 0.53 GB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.09324, allocations: 384 / 0.53 GB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/0.09334, allocations: 42.19 kB / 0.53 GB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.09335, allocations: 192 / 0.53 GB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.09336, allocations: 3.938 kB / 0.5301 GB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.09336, allocations: 4 kB / 0.5301 GB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.0934, allocations: 4 kB / 0.5301 GB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.09358, allocations: 157.7 kB / 0.5302 GB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.377e-05/0.09366, allocations: 34.61 kB / 0.5302 GB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.09369, allocations: 12.86 kB / 0.5303 GB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.0937, allocations: 3.938 kB / 0.5303 GB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.09373, allocations: 30.56 kB / 0.5303 GB, free: 15.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.09373, allocations: 0 / 0.5303 GB, free: 15.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001521/0.09388, allocations: 57.72 kB / 0.5303 GB, free: 15.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.09392, allocations: 51.41 kB / 0.5304 GB, free: 15.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.094, allocations: 101.8 kB / 0.5305 GB, free: 15.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.09401, allocations: 25.7 kB / 0.5305 GB, free: 15.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.09406, allocations: 88.02 kB / 0.5306 GB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.09409, allocations: 15.84 kB / 0.5306 GB, free: 14.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.09412, allocations: 13.72 kB / 0.5306 GB, free: 14.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.09425, allocations: 326.8 kB / 0.5309 GB, free: 14.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.09426, allocations: 0 / 0.5309 GB, free: 14.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.09428, allocations: 8.312 kB / 0.5309 GB, free: 14.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.666e-05/0.09432, allocations: 28.92 kB / 0.531 GB, free: 14.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.09432, allocations: 0 / 0.531 GB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.712e-05/0.0944, allocations: 49.7 kB / 0.531 GB, free: 14.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.09441, allocations: 4 kB / 0.531 GB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.09442, allocations: 3.938 kB / 0.531 GB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.09443, allocations: 0 / 0.531 GB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.09452, allocations: 11.98 kB / 0.531 GB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.09452, allocations: 7.984 kB / 0.531 GB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.09454, allocations: 0 / 0.531 GB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.09454, allocations: 7.938 kB / 0.5311 GB, free: 14.47 MB / 350.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 7.615e-05/0.09462, allocations: 109.8 kB / 0.5312 GB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.09463, allocations: 0 / 0.5312 GB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.09465, allocations: 11.44 kB / 0.5312 GB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.09466, allocations: 4 kB / 0.5312 GB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.09466, allocations: 0 / 0.5312 GB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.09466, allocations: 3.984 kB / 0.5312 GB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.09478, allocations: 153.7 kB / 0.5313 GB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.09478, allocations: 0 / 0.5313 GB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.704e-05/0.09485, allocations: 11.98 kB / 0.5313 GB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.09485, allocations: 0 / 0.5313 GB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.09486, allocations: 3.938 kB / 0.5313 GB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.09486, allocations: 0 / 0.5313 GB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.09486, allocations: 0 / 0.5313 GB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.09498, allocations: 81.02 kB / 0.5314 GB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.09503, allocations: 81.14 kB / 0.5315 GB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.09504, allocations: 11.98 kB / 0.5315 GB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.09506, allocations: 0 / 0.5315 GB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.09507, allocations: 0 / 0.5315 GB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.09508, allocations: 4 kB / 0.5315 GB, free: 13.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.441e-05/0.09512, allocations: 75.28 kB / 0.5316 GB, free: 13.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09512, allocations: 3.938 kB / 0.5316 GB, free: 13.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001759/0.0953, allocations: 8 kB / 0.5316 GB, free: 13.82 MB / 350.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 7.976e-05/0.09538, allocations: 91.25 kB / 0.5317 GB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.532e-05/0.09546, allocations: 19.98 kB / 0.5317 GB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.09547, allocations: 0 / 0.5317 GB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.775e-05/0.09548, allocations: 11.94 kB / 0.5317 GB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.09562, allocations: 7.938 kB / 0.5317 GB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.09601, allocations: 210.4 kB / 0.5319 GB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.0963, allocations: 0.6844 MB / 0.5326 GB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.09632, allocations: 7.438 kB / 0.5326 GB, free: 12.72 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09632, allocations: 0 / 0.5326 GB, free: 12.72 MB / 350.1 MB Notification: Performance of Templates: time 0.001848/0.09816, allocations: 484.7 kB / 0.5331 GB, free: 12.25 MB / 350.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.571935361949727] Failed to read output from testmodel.py, exit status != 0: 0.24912501801736653 0.11787097199999995 0.022640031 Calling exit ...