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.001653/0.001653, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.504/1.504, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001534/0.001534, allocations: 204.3 kB / 310 MB, free: 3.074 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.04256/0.04256, allocations: 8.931 MB / 375.3 MB, free: 6.574 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.00259/0.00259, allocations: 87.86 kB / 0.4903 GB, free: 44.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0774/0.07999, allocations: 55.61 MB / 0.5447 GB, free: 4.543 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.00168/0.08167, allocations: 0.505 MB / 0.5451 GB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006341/0.0823, allocations: 290.3 kB / 0.5454 GB, free: 3.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.08233, allocations: 0 / 0.5454 GB, free: 3.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/0.08237, allocations: 3.938 kB / 0.5454 GB, free: 3.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.08279, allocations: 67.73 kB / 0.5455 GB, free: 3.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.547e-05/0.08284, allocations: 15.98 kB / 0.5455 GB, free: 3.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.433e-05/0.08294, allocations: 27.91 kB / 0.5455 GB, free: 3.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.08297, allocations: 4 kB / 0.5455 GB, free: 3.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.08302, allocations: 15.92 kB / 0.5456 GB, free: 3.617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.08328, allocations: 59.88 kB / 0.5456 GB, free: 3.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.0833, allocations: 0 / 0.5456 GB, free: 3.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.08331, allocations: 0 / 0.5456 GB, free: 3.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.08335, allocations: 19.97 kB / 0.5456 GB, free: 3.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.08339, allocations: 19.86 kB / 0.5456 GB, free: 3.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.558e-05/0.08347, allocations: 31.8 kB / 0.5457 GB, free: 3.488 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.08347, allocations: 0 / 0.5457 GB, free: 3.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.08347, allocations: 0 / 0.5457 GB, free: 3.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.08348, allocations: 4 kB / 0.5457 GB, free: 3.484 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.000467/0.08395, allocations: 315.8 kB / 0.546 GB, free: 3.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.08398, allocations: 11.98 kB / 0.546 GB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.08405, allocations: 92.09 kB / 0.5461 GB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.08423, allocations: 195.6 kB / 0.5463 GB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.0843, allocations: 158.9 kB / 0.5464 GB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.08437, allocations: 154.9 kB / 0.5466 GB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.716e-05/0.08444, allocations: 101.5 kB / 0.5467 GB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.08448, allocations: 75.47 kB / 0.5467 GB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/0.08454, allocations: 158.5 kB / 0.5469 GB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.679e-05/0.08461, allocations: 154.6 kB / 0.547 GB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.199e-05/0.08468, allocations: 158.5 kB / 0.5472 GB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.08498, allocations: 425.5 kB / 0.5476 GB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.815e-05/0.08508, allocations: 165.1 kB / 0.5477 GB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.08513, allocations: 80.14 kB / 0.5478 GB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.08517, allocations: 75.28 kB / 0.5479 GB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/0.08522, allocations: 109.8 kB / 0.548 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.08523, allocations: 0 / 0.548 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.48e-05/0.08531, allocations: 41.53 kB / 0.548 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.08539, allocations: 130.7 kB / 0.5482 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.08556, allocations: 152 kB / 0.5483 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.08558, allocations: 25.7 kB / 0.5483 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.08564, allocations: 96.08 kB / 0.5484 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.08564, allocations: 3.938 kB / 0.5484 GB, free: 0.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.08568, allocations: 21.72 kB / 0.5485 GB, free: 484 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.08583, allocations: 322.8 kB / 0.5488 GB, free: 152 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.08588, allocations: 41.7 kB / 0.5488 GB, free: 104 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.447e-05/0.08598, allocations: 82.83 kB / 0.5489 GB, free: 16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.08609, allocations: 94.73 kB / 0.549 GB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.08609, allocations: 3.938 kB / 0.549 GB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004178/0.08651, allocations: 194.7 kB / 0.5492 GB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.08655, allocations: 37.73 kB / 0.5492 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.08655, allocations: 160 / 0.5492 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.08674, allocations: 45.62 kB / 0.5492 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.08696, allocations: 23.98 kB / 0.5493 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/0.09084, allocations: 5.078 MB / 0.5542 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.814e-05/0.09091, allocations: 15.83 kB / 0.5542 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.09092, allocations: 0 / 0.5542 GB, free: 10.04 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.0001418/0.09106, allocations: 205.9 kB / 0.5544 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.09114, allocations: 112.9 kB / 0.5545 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.0912, allocations: 116.8 kB / 0.5547 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.254e-05/0.09128, allocations: 184.4 kB / 0.5548 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.757e-05/0.09136, allocations: 180.3 kB / 0.555 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.869e-05/0.09144, allocations: 184.2 kB / 0.5552 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.09167, allocations: 360.9 kB / 0.5555 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.732e-05/0.09172, allocations: 104.9 kB / 0.5556 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.09176, allocations: 109.1 kB / 0.5557 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-05/0.09185, allocations: 180.3 kB / 0.5559 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.064e-05/0.09193, allocations: 188.2 kB / 0.5561 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.359e-05/0.092, allocations: 180.3 kB / 0.5562 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.632e-05/0.09208, allocations: 180.2 kB / 0.5564 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.09223, allocations: 311.8 kB / 0.5567 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.0923, allocations: 116.9 kB / 0.5568 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.41e-05/0.09239, allocations: 184.2 kB / 0.557 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.09247, allocations: 104.9 kB / 0.5571 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.09256, allocations: 184.3 kB / 0.5573 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.0926, allocations: 108.9 kB / 0.5574 GB, free: 6.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.09269, allocations: 107.2 kB / 0.5575 GB, free: 6.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09269, allocations: 0 / 0.5575 GB, free: 6.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.09295, allocations: 12 kB / 0.5575 GB, free: 6.512 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.0001237/0.09308, allocations: 170.5 kB / 0.5577 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006372/0.09371, allocations: 366.4 kB / 0.558 GB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.09372, allocations: 0 / 0.558 GB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.09372, allocations: 3.938 kB / 0.558 GB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.09413, allocations: 467.6 kB / 0.5585 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.09446, allocations: 256.9 kB / 0.5587 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.388e-05/0.09453, allocations: 71.33 kB / 0.5588 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.09455, allocations: 7.438 kB / 0.5588 GB, free: 5.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.09455, allocations: 0 / 0.5588 GB, free: 5.09 MB / 382.1 MB Notification: Performance of Templates: time 0.003027/0.09758, allocations: 1.139 MB / 0.5599 GB, free: 3.949 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.738030326087028] Failed to read output from testmodel.py, exit status != 0: 0.10439749993383884 0.29115513600000004 0.20418633900000002 Calling exit ...