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.001339/0.001339, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.509/1.509, allocations: 230.6 MB / 253.4 MB, free: 14.3 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.00176/0.00176, allocations: 212.5 kB / 310 MB, free: 3.117 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.04118/0.04118, allocations: 8.913 MB / 375.3 MB, free: 6.629 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.00258/0.00258, allocations: 91.86 kB / 0.4903 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1111, allocations: 55.6 MB / 0.5446 GB, free: 4.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.002601/0.1137, allocations: 1.243 MB / 0.5459 GB, free: 3.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001667/0.1139, allocations: 31.83 kB / 0.5459 GB, free: 3.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.1139, allocations: 0 / 0.5459 GB, free: 3.281 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.114, allocations: 0 / 0.5459 GB, free: 3.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.114, allocations: 3.938 kB / 0.5459 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.1141, allocations: 4 kB / 0.5459 GB, free: 3.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.95e-05/0.1142, allocations: 15.92 kB / 0.5459 GB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.1142, allocations: 8 kB / 0.5459 GB, free: 3.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.1143, allocations: 0 / 0.5459 GB, free: 3.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.1143, allocations: 11.92 kB / 0.5459 GB, free: 3.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1143, allocations: 0 / 0.5459 GB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-06/0.1143, allocations: 0 / 0.5459 GB, free: 3.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.1144, allocations: 7.984 kB / 0.5459 GB, free: 3.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.1144, allocations: 3.938 kB / 0.5459 GB, free: 3.227 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.1e-05/0.1145, allocations: 11.94 kB / 0.546 GB, free: 3.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1145, allocations: 4 kB / 0.546 GB, free: 3.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1145, allocations: 4 kB / 0.546 GB, free: 3.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1145, allocations: 0 / 0.546 GB, free: 3.207 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.0004285/0.1149, allocations: 242.4 kB / 0.5462 GB, free: 2.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1149, allocations: 15.92 kB / 0.5462 GB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.115, allocations: 8.891 kB / 0.5462 GB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1151, allocations: 110.5 kB / 0.5463 GB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1151, allocations: 384 / 0.5463 GB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.1151, allocations: 4.375 kB / 0.5463 GB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.84e-05/0.1152, allocations: 32.39 kB / 0.5464 GB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1152, allocations: 192 / 0.5464 GB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1153, allocations: 11.94 kB / 0.5464 GB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1153, allocations: 0 / 0.5464 GB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.1153, allocations: 7.984 kB / 0.5464 GB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.1155, allocations: 109.3 kB / 0.5465 GB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.1156, allocations: 38.55 kB / 0.5465 GB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.1156, allocations: 16.8 kB / 0.5465 GB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.1156, allocations: 0 / 0.5465 GB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.1156, allocations: 30.56 kB / 0.5466 GB, free: 2.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1156, allocations: 0 / 0.5466 GB, free: 2.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001632/0.1158, allocations: 57.66 kB / 0.5466 GB, free: 2.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1158, allocations: 55.41 kB / 0.5467 GB, free: 2.352 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.1159, allocations: 101.8 kB / 0.5468 GB, free: 2.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1159, allocations: 25.7 kB / 0.5468 GB, free: 2.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.116, allocations: 80.14 kB / 0.5469 GB, free: 2.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.116, allocations: 11.91 kB / 0.5469 GB, free: 2.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.1161, allocations: 17.7 kB / 0.5469 GB, free: 2.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1162, allocations: 314.8 kB / 0.5472 GB, free: 1.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.1162, allocations: 8 kB / 0.5472 GB, free: 1.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.247e-05/0.1162, allocations: 4.375 kB / 0.5472 GB, free: 1.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.98e-05/0.1163, allocations: 24.92 kB / 0.5472 GB, free: 1.738 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1163, allocations: 0 / 0.5472 GB, free: 1.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.299e-05/0.1164, allocations: 49.64 kB / 0.5473 GB, free: 1.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1164, allocations: 4 kB / 0.5473 GB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1164, allocations: 0 / 0.5473 GB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1164, allocations: 3.938 kB / 0.5473 GB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.1165, allocations: 11.98 kB / 0.5473 GB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1165, allocations: 0 / 0.5473 GB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.1165, allocations: 11.94 kB / 0.5473 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.1165, allocations: 0 / 0.5473 GB, free: 1.652 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 7.652e-05/0.1166, allocations: 105.8 kB / 0.5474 GB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.1166, allocations: 7.953 kB / 0.5474 GB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.1166, allocations: 11.69 kB / 0.5474 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1166, allocations: 3.938 kB / 0.5474 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1166, allocations: 3.984 kB / 0.5474 GB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1166, allocations: 0 / 0.5474 GB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.125e-05/0.1167, allocations: 101.3 kB / 0.5475 GB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1167, allocations: 0 / 0.5475 GB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.1168, allocations: 8 kB / 0.5475 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1168, allocations: 3.984 kB / 0.5475 GB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1168, allocations: 8 kB / 0.5476 GB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1168, allocations: 0 / 0.5476 GB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1168, allocations: 11.81 kB / 0.5476 GB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.117, allocations: 77.12 kB / 0.5476 GB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.117, allocations: 0 / 0.5476 GB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.117, allocations: 4.031 kB / 0.5476 GB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.117, allocations: 7.938 kB / 0.5476 GB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.117, allocations: 7.922 kB / 0.5477 GB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.117, allocations: 0 / 0.5477 GB, free: 1.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.803e-05/0.1171, allocations: 79.28 kB / 0.5477 GB, free: 1.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1171, allocations: 0 / 0.5477 GB, free: 1.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001904/0.1173, allocations: 4 kB / 0.5477 GB, free: 1.156 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 9.007e-05/0.1173, allocations: 95.31 kB / 0.5478 GB, free: 1.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.739e-05/0.1174, allocations: 23.92 kB / 0.5478 GB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1174, allocations: 0 / 0.5478 GB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-05/0.1175, allocations: 4 kB / 0.5479 GB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1176, allocations: 5.875 kB / 0.5479 GB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.1181, allocations: 214.8 kB / 0.5481 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.452e-05/0.1181, allocations: 59.36 kB / 0.5481 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.1182, allocations: 7.438 kB / 0.5481 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1182, allocations: 0 / 0.5481 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of Templates: time 0.00196/0.1201, allocations: 0.492 MB / 0.5486 GB, free: 204 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: 7.163265227340162] Failed to read output from testmodel.py, exit status != 0: 0.12805796694010496 0.14724667300000002 0.026754651 Calling exit ...