Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.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.001403/0.001403, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.526/1.526, allocations: 230.6 MB / 253.4 MB, free: 14.43 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.001715/0.001715, allocations: 226.2 kB / 310 MB, free: 3.102 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.0416/0.0416, allocations: 8.92 MB / 375.3 MB, free: 6.719 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.VariablesTypes.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") translateModel(HanserModelica.VariablesTypes.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") [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.00285/0.00285, allocations: 79.88 kB / 0.4904 GB, free: 44.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1108, allocations: 55.61 MB / 0.5447 GB, free: 4.676 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/VariablesTypes/InitializationParameters.mo:5:3-5:28:writable] Warning: Parameter b has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.002355/0.1131, allocations: 0.5144 MB / 0.5452 GB, free: 4.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008196/0.114, allocations: 306.3 kB / 0.5455 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.785e-05/0.114, allocations: 0 / 0.5455 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.407e-05/0.1141, allocations: 0 / 0.5455 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006667/0.1147, allocations: 71.67 kB / 0.5456 GB, free: 3.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.558e-05/0.1148, allocations: 19.97 kB / 0.5456 GB, free: 3.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.115, allocations: 23.92 kB / 0.5456 GB, free: 3.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.469e-05/0.1151, allocations: 7.938 kB / 0.5456 GB, free: 3.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1152, allocations: 15.92 kB / 0.5457 GB, free: 3.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00048/0.1156, allocations: 67.86 kB / 0.5457 GB, free: 3.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.1157, allocations: 0 / 0.5457 GB, free: 3.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.1157, allocations: 0 / 0.5457 GB, free: 3.656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.717e-05/0.1158, allocations: 19.91 kB / 0.5457 GB, free: 3.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.1158, allocations: 19.88 kB / 0.5458 GB, free: 3.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.116, allocations: 23.86 kB / 0.5458 GB, free: 3.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.116, allocations: 0 / 0.5458 GB, free: 3.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.116, allocations: 4 kB / 0.5458 GB, free: 3.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.116, allocations: 0 / 0.5458 GB, free: 3.59 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007909/0.1168, allocations: 323.8 kB / 0.5461 GB, free: 3.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.248e-05/0.1168, allocations: 11.98 kB / 0.5461 GB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.117, allocations: 84.17 kB / 0.5462 GB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1173, allocations: 197.8 kB / 0.5464 GB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.1174, allocations: 150.9 kB / 0.5465 GB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.1175, allocations: 162.9 kB / 0.5467 GB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.1176, allocations: 109.4 kB / 0.5468 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/0.1177, allocations: 79.47 kB / 0.5468 GB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-05/0.1178, allocations: 158.5 kB / 0.547 GB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.1179, allocations: 150.6 kB / 0.5471 GB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.118, allocations: 158.6 kB / 0.5473 GB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.1185, allocations: 436.9 kB / 0.5477 GB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1186, allocations: 177.1 kB / 0.5479 GB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.976e-05/0.1187, allocations: 80.14 kB / 0.548 GB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.316e-05/0.1188, allocations: 75.28 kB / 0.548 GB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.815e-05/0.1189, allocations: 109.8 kB / 0.5481 GB, free: 1.035 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1189, allocations: 0 / 0.5481 GB, free: 1.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001128/0.119, allocations: 41.58 kB / 0.5482 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.1191, allocations: 126.7 kB / 0.5483 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.1193, allocations: 148.8 kB / 0.5484 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1193, allocations: 33.64 kB / 0.5485 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.1194, allocations: 100.1 kB / 0.5486 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.1194, allocations: 0 / 0.5486 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.1195, allocations: 21.72 kB / 0.5486 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1197, allocations: 322.8 kB / 0.5489 GB, free: 212 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.1197, allocations: 12 kB / 0.5489 GB, free: 200 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.785e-05/0.1198, allocations: 53.14 kB / 0.549 GB, free: 128 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.12, allocations: 90.78 kB / 0.549 GB, free: 12 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.12, allocations: 3.938 kB / 0.549 GB, free: 8 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005918/0.1206, allocations: 176.8 kB / 0.5492 GB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.1206, allocations: 37.69 kB / 0.5492 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1206, allocations: 0 / 0.5492 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.1209, allocations: 41.69 kB / 0.5493 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.1211, allocations: 28.17 kB / 0.5493 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004521/0.1257, allocations: 5.15 MB / 0.5543 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.1257, allocations: 11.92 kB / 0.5544 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.1258, allocations: 8 kB / 0.5544 GB, free: 10.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.1259, allocations: 202 kB / 0.5546 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/0.126, allocations: 112.9 kB / 0.5547 GB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.1261, allocations: 116.8 kB / 0.5548 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-05/0.1262, allocations: 184.2 kB / 0.555 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.832e-05/0.1262, allocations: 176.3 kB / 0.5551 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.044e-05/0.1263, allocations: 184.2 kB / 0.5553 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.1266, allocations: 396.2 kB / 0.5557 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.362e-05/0.1267, allocations: 101 kB / 0.5558 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.1267, allocations: 109.1 kB / 0.5559 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-05/0.1268, allocations: 180.3 kB / 0.556 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.754e-05/0.1269, allocations: 180.3 kB / 0.5562 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.112e-05/0.127, allocations: 180.2 kB / 0.5564 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-05/0.1271, allocations: 180.3 kB / 0.5566 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1272, allocations: 315.7 kB / 0.5569 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.952e-05/0.1273, allocations: 108.9 kB / 0.557 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.326e-05/0.1274, allocations: 184.2 kB / 0.5571 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.1275, allocations: 113 kB / 0.5572 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.1276, allocations: 184.2 kB / 0.5574 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.1277, allocations: 105 kB / 0.5575 GB, free: 6.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1278, allocations: 111.2 kB / 0.5576 GB, free: 6.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1278, allocations: 0 / 0.5576 GB, free: 6.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.1281, allocations: 8 kB / 0.5576 GB, free: 6.516 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001435/0.1282, allocations: 174.5 kB / 0.5578 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007153/0.1289, allocations: 340.7 kB / 0.5581 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1289, allocations: 0 / 0.5581 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.1289, allocations: 0 / 0.5581 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.1294, allocations: 468 kB / 0.5586 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.1298, allocations: 249.7 kB / 0.5588 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1302, allocations: 0.6885 MB / 0.5595 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.1302, allocations: 7.438 kB / 0.5595 GB, free: 4.5 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1302, allocations: 4 kB / 0.5595 GB, free: 4.496 MB / 382.1 MB Notification: Performance of Templates: time 0.003758/0.1339, allocations: 1.116 MB / 0.5606 GB, free: 3.379 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.sim & ./HanserModelica_HanserModelica.VariablesTypes.InitializationParameters -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.964663567952812] Failed to read output from testmodel.py, exit status != 0: 0.14282720000483096 0.38748885999999994 0.26860883399999996 Calling exit ...