Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.00139/0.00139, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.654/1.654, allocations: 230.6 MB / 252.7 MB, free: 14.27 MB / 206.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.001694/0.001694, allocations: 217.3 kB / 309.2 MB, free: 3.109 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.04379/0.04379, allocations: 8.934 MB / 374.6 MB, free: 6.582 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.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") translateModel(HanserModelica.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 82.12 kB / 0.4896 GB, free: 44.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1227, allocations: 55.61 MB / 0.5439 GB, free: 4.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.00354/0.1262, allocations: 1.231 MB / 0.5451 GB, free: 3.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001847/0.1264, allocations: 19.91 kB / 0.5451 GB, free: 3.305 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.1264, allocations: 0 / 0.5451 GB, free: 3.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.1264, allocations: 3.938 kB / 0.5451 GB, free: 3.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.1265, allocations: 3.984 kB / 0.5451 GB, free: 3.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.1266, allocations: 11.94 kB / 0.5452 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.431e-05/0.1267, allocations: 11.94 kB / 0.5452 GB, free: 3.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.156e-05/0.1268, allocations: 7.984 kB / 0.5452 GB, free: 3.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.624e-05/0.1268, allocations: 3.938 kB / 0.5452 GB, free: 3.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.1269, allocations: 8 kB / 0.5452 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1269, allocations: 0 / 0.5452 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.1269, allocations: 0 / 0.5452 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.1269, allocations: 7.984 kB / 0.5452 GB, free: 3.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.127, allocations: 7.922 kB / 0.5452 GB, free: 3.238 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.934e-05/0.1271, allocations: 11.88 kB / 0.5452 GB, free: 3.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1271, allocations: 4 kB / 0.5452 GB, free: 3.223 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1271, allocations: 4 kB / 0.5452 GB, free: 3.219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1271, allocations: 0 / 0.5452 GB, free: 3.219 MB / 366.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.0005054/0.1276, allocations: 246.4 kB / 0.5455 GB, free: 2.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1276, allocations: 11.98 kB / 0.5455 GB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.1277, allocations: 16.83 kB / 0.5455 GB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.1278, allocations: 102.5 kB / 0.5456 GB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.1278, allocations: 4.375 kB / 0.5456 GB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.1279, allocations: 4.375 kB / 0.5456 GB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.128, allocations: 36.38 kB / 0.5456 GB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.128, allocations: 4.125 kB / 0.5456 GB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.128, allocations: 7.938 kB / 0.5456 GB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.128, allocations: 0 / 0.5456 GB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.532e-05/0.1281, allocations: 11.98 kB / 0.5456 GB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.1283, allocations: 105.3 kB / 0.5457 GB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.926e-05/0.1284, allocations: 38.59 kB / 0.5458 GB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.1284, allocations: 8.859 kB / 0.5458 GB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.1284, allocations: 0 / 0.5458 GB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.1285, allocations: 38.5 kB / 0.5458 GB, free: 2.484 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1285, allocations: 0 / 0.5458 GB, free: 2.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001845/0.1286, allocations: 53.72 kB / 0.5459 GB, free: 2.426 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1287, allocations: 55.41 kB / 0.5459 GB, free: 2.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.951e-05/0.1288, allocations: 97.84 kB / 0.546 GB, free: 2.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1288, allocations: 25.7 kB / 0.546 GB, free: 2.223 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.1289, allocations: 84.14 kB / 0.5461 GB, free: 2.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1289, allocations: 15.84 kB / 0.5461 GB, free: 2.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.1289, allocations: 17.72 kB / 0.5462 GB, free: 2.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1291, allocations: 314.8 kB / 0.5465 GB, free: 1.781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.1291, allocations: 4 kB / 0.5465 GB, free: 1.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.1291, allocations: 8 kB / 0.5465 GB, free: 1.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.1292, allocations: 20.8 kB / 0.5465 GB, free: 1.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1292, allocations: 0 / 0.5465 GB, free: 1.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.699e-05/0.1293, allocations: 49.69 kB / 0.5465 GB, free: 1.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1293, allocations: 4 kB / 0.5465 GB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1293, allocations: 3.938 kB / 0.5465 GB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.1293, allocations: 7.938 kB / 0.5466 GB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1294, allocations: 7.984 kB / 0.5466 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1294, allocations: 0 / 0.5466 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.1294, allocations: 4 kB / 0.5466 GB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1295, allocations: 0 / 0.5466 GB, free: 1.664 MB / 366.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 0.0001058/0.1296, allocations: 113.8 kB / 0.5467 GB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.1296, allocations: 7.953 kB / 0.5467 GB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.1296, allocations: 7.688 kB / 0.5467 GB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1296, allocations: 3.938 kB / 0.5467 GB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1296, allocations: 0 / 0.5467 GB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1296, allocations: 0 / 0.5467 GB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1297, allocations: 109.3 kB / 0.5468 GB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1297, allocations: 3.938 kB / 0.5468 GB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.1298, allocations: 8 kB / 0.5468 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1298, allocations: 0 / 0.5468 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.1298, allocations: 4 kB / 0.5468 GB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1298, allocations: 0 / 0.5468 GB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1298, allocations: 7.938 kB / 0.5468 GB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.13, allocations: 81.62 kB / 0.5469 GB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.13, allocations: 4.062 kB / 0.5469 GB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.13, allocations: 4 kB / 0.5469 GB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/0.13, allocations: 0 / 0.5469 GB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.13, allocations: 7.875 kB / 0.5469 GB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1301, allocations: 0 / 0.5469 GB, free: 1.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.249e-05/0.1301, allocations: 87.27 kB / 0.547 GB, free: 1.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1301, allocations: 0 / 0.547 GB, free: 1.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1303, allocations: 4 kB / 0.547 GB, free: 1.16 MB / 366.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 0.0001194/0.1304, allocations: 95.31 kB / 0.5471 GB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1305, allocations: 16 kB / 0.5471 GB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1305, allocations: 0 / 0.5471 GB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-05/0.1306, allocations: 11.92 kB / 0.5471 GB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.1307, allocations: 0 / 0.5471 GB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.1313, allocations: 189 kB / 0.5473 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.856e-05/0.1313, allocations: 67.28 kB / 0.5474 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.797e-05/0.1313, allocations: 0 / 0.5474 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.1314, allocations: 7.438 kB / 0.5474 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1314, allocations: 0 / 0.5474 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of Templates: time 0.003126/0.1345, allocations: 249.1 kB / 0.5476 GB, free: 492 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.245385343208909] Failed to read output from testmodel.py, exit status != 0: 0.14357255585491657 0.16180281400000002 0.030992321000000003 Calling exit ...