Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.000884/0.000884, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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 0.929/0.929, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001933/0.001933, allocations: 156.6 kB / 256 MB, free: 13.34 MB / 250.7 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.02262/0.02262, allocations: 6.667 MB / 319 MB, free: 26.76 MB / 266.7 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: "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 445.4 MB, free: 37.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.606e-05, allocations: 5.094 kB / 445.4 MB, free: 37.49 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.001836/0.001852, allocations: 1.769 MB / 447.2 MB, free: 35.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006235/0.002475, allocations: 482.7 kB / 447.6 MB, free: 35.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.923e-05/0.002555, allocations: 4 kB / 447.6 MB, free: 35.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.002661, allocations: 19.8 kB / 447.7 MB, free: 35.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.255e-05/0.002714, allocations: 31.7 kB / 447.7 MB, free: 35.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.002849, allocations: 31.89 kB / 447.7 MB, free: 35.15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.002981, allocations: 123.4 kB / 447.8 MB, free: 35.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.003105, allocations: 37.22 kB / 447.9 MB, free: 34.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.061e-05/0.003166, allocations: 67.77 kB / 447.9 MB, free: 34.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.003231, allocations: 43.88 kB / 448 MB, free: 34.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.003256, allocations: 8 kB / 448 MB, free: 34.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.00327, allocations: 16 kB / 448 MB, free: 34.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.003289, allocations: 19.92 kB / 448 MB, free: 34.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.003322, allocations: 39.91 kB / 448.1 MB, free: 34.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.003438, allocations: 119.6 kB / 448.2 MB, free: 34.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00344, allocations: 4 kB / 448.2 MB, free: 34.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003441, allocations: 0 / 448.2 MB, free: 34.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.003445, allocations: 0 / 448.2 MB, free: 34.68 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003648/0.00381, allocations: 333.9 kB / 448.5 MB, free: 34.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.003851, allocations: 12.02 kB / 448.5 MB, free: 34.31 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.00389, allocations: 46.75 kB / 448.6 MB, free: 34.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.003924, allocations: 16.83 kB / 448.6 MB, free: 34.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.004109, allocations: 145.5 kB / 448.7 MB, free: 34.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.004118, allocations: 4.375 kB / 448.7 MB, free: 34.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.004138, allocations: 12.38 kB / 448.7 MB, free: 34.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.004275, allocations: 131.9 kB / 448.9 MB, free: 33.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004283, allocations: 192 / 448.9 MB, free: 33.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.004295, allocations: 8.125 kB / 448.9 MB, free: 33.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.0043, allocations: 4 kB / 448.9 MB, free: 33.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.351e-05/0.004374, allocations: 59.97 kB / 448.9 MB, free: 33.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.004834, allocations: 445.8 kB / 449.4 MB, free: 33.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.211e-05/0.004906, allocations: 42.56 kB / 449.4 MB, free: 33.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.004927, allocations: 20.8 kB / 449.4 MB, free: 33.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.004933, allocations: 0 / 449.4 MB, free: 33.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.004947, allocations: 38.5 kB / 449.5 MB, free: 33.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.004948, allocations: 0 / 449.5 MB, free: 33.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001324/0.00508, allocations: 69.72 kB / 449.5 MB, free: 33.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.005099, allocations: 55.41 kB / 449.6 MB, free: 33.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.236e-05/0.005161, allocations: 136.5 kB / 449.7 MB, free: 32.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.005169, allocations: 25.7 kB / 449.8 MB, free: 32.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.005208, allocations: 124.1 kB / 449.9 MB, free: 32.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.366e-06/0.005217, allocations: 15.84 kB / 449.9 MB, free: 32.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.005242, allocations: 29.66 kB / 449.9 MB, free: 32.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.675e-05/0.005269, allocations: 314.8 kB / 450.2 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.005287, allocations: 11.98 kB / 450.2 MB, free: 32.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.005312, allocations: 46.44 kB / 450.3 MB, free: 32.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.005353, allocations: 50.56 kB / 450.3 MB, free: 32.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005355, allocations: 4 kB / 450.3 MB, free: 32.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.407e-05/0.005419, allocations: 81.52 kB / 450.4 MB, free: 32.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.00543, allocations: 8 kB / 450.4 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.005435, allocations: 192 / 450.4 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.005447, allocations: 0 / 450.4 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.005524, allocations: 19.94 kB / 450.5 MB, free: 32.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.00553, allocations: 0 / 450.5 MB, free: 32.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.005555, allocations: 7.984 kB / 450.5 MB, free: 32.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.005559, allocations: 8.062 kB / 450.5 MB, free: 32.17 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 4.389e-05/0.005603, allocations: 117.8 kB / 450.6 MB, free: 32.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.005617, allocations: 15.83 kB / 450.6 MB, free: 32.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.005637, allocations: 12.34 kB / 450.6 MB, free: 32.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005638, allocations: 0 / 450.6 MB, free: 32.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.005642, allocations: 0 / 450.6 MB, free: 32.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.005645, allocations: 0 / 450.6 MB, free: 32.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.303e-05/0.005738, allocations: 164.6 kB / 450.8 MB, free: 31.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-07/0.005739, allocations: 0 / 450.8 MB, free: 31.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.005776, allocations: 8 kB / 450.8 MB, free: 31.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.005777, allocations: 4 kB / 450.8 MB, free: 31.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.005784, allocations: 8 kB / 450.8 MB, free: 31.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.005785, allocations: 0 / 450.8 MB, free: 31.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.005786, allocations: 0 / 450.8 MB, free: 31.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.465e-05/0.00588, allocations: 167.4 kB / 451 MB, free: 31.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.005893, allocations: 11.98 kB / 451 MB, free: 31.6 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.005905, allocations: 0 / 451 MB, free: 31.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.528e-05/0.00595, allocations: 4 kB / 451 MB, free: 31.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.005963, allocations: 3.984 kB / 451 MB, free: 31.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.005966, allocations: 0 / 451 MB, free: 31.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.525e-05/0.006001, allocations: 113.6 kB / 451.1 MB, free: 31.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006001, allocations: 4 kB / 451.1 MB, free: 31.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.006152, allocations: 23.95 kB / 451.1 MB, free: 31.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.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 (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 Backend phase and start with SimCode phase: time 0.0001458/0.006298, allocations: 0.6967 MB / 451.8 MB, free: 30.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.006371, allocations: 32.05 kB / 451.8 MB, free: 30.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.006372, allocations: 7.938 kB / 451.8 MB, free: 30.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.006384, allocations: 12 kB / 451.9 MB, free: 30.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.00658, allocations: 4 kB / 451.9 MB, free: 30.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.00736, allocations: 1.553 MB / 453.4 MB, free: 29.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.229e-05/0.007412, allocations: 88.31 kB / 453.5 MB, free: 28.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.616e-05/0.007439, allocations: 4.734 kB / 453.5 MB, free: 28.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.007477, allocations: 32.48 kB / 453.5 MB, free: 28.89 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007478, allocations: 0 / 453.5 MB, free: 28.89 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.02276, allocations: 2.729 MB / 456.3 MB, free: 26.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.011, allocations: 11.38 kB / 456.3 MB, free: 26.28 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_FirstSteps_Electrical5.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.102248734794557] Failed to read output from testmodel.py, exit status != 0: 7.090028625912964 7.101668507 7.095869996 Calling exit ...