Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.001276/0.001276, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.544/1.544, allocations: 230.6 MB / 249.8 MB, free: 9.203 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.001965/0.001965, allocations: 221.3 kB / 306 MB, free: 4.273 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.04475/0.04475, allocations: 8.911 MB / 371 MB, free: 3.418 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: "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",fmuType="me",version="2.0",platforms={"static"}) [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.002694/0.002694, allocations: 79.89 kB / 495.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3484, allocations: 55.57 MB / 0.5384 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002766/0.3511, allocations: 1.843 MB / 0.5402 GB, free: 25.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.352, allocations: 0.4917 MB / 0.5406 GB, free: 24.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.3521, allocations: 0 / 0.5406 GB, free: 24.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.3522, allocations: 21.31 kB / 0.5407 GB, free: 24.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.015e-05/0.3523, allocations: 33.7 kB / 0.5407 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.3524, allocations: 21.97 kB / 0.5407 GB, free: 24.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3526, allocations: 124.2 kB / 0.5408 GB, free: 24.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.3528, allocations: 37.55 kB / 0.5409 GB, free: 24.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.05e-05/0.3528, allocations: 46.06 kB / 0.5409 GB, free: 24.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.025e-05/0.3529, allocations: 53.17 kB / 0.541 GB, free: 24.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.3529, allocations: 9.531 kB / 0.541 GB, free: 24.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.058e-05/0.3529, allocations: 9.531 kB / 0.541 GB, free: 24.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.353, allocations: 22.56 kB / 0.541 GB, free: 24.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.353, allocations: 57.39 kB / 0.5411 GB, free: 24.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.3532, allocations: 129.2 kB / 0.5412 GB, free: 24.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3532, allocations: 4 kB / 0.5412 GB, free: 24.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3532, allocations: 0 / 0.5412 GB, free: 24.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3532, allocations: 0 / 0.5412 GB, free: 24.67 MB / 382.1 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.0004877/0.3537, allocations: 413.9 kB / 0.5416 GB, free: 24.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3537, allocations: 9.875 kB / 0.5416 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.3538, allocations: 45.31 kB / 0.5416 GB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.3538, allocations: 11.2 kB / 0.5416 GB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.354, allocations: 200.2 kB / 0.5418 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.354, allocations: 7.875 kB / 0.5418 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.3541, allocations: 10.88 kB / 0.5419 GB, free: 23.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.3542, allocations: 107.9 kB / 0.542 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3542, allocations: 0 / 0.542 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3543, allocations: 7.219 kB / 0.542 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3543, allocations: 2.688 kB / 0.542 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.3544, allocations: 66.75 kB / 0.542 GB, free: 23.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.355, allocations: 0.4933 MB / 0.5425 GB, free: 23.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.074e-05/0.3551, allocations: 48.88 kB / 0.5426 GB, free: 23.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.3551, allocations: 19.11 kB / 0.5426 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.3551, allocations: 0 / 0.5426 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.3552, allocations: 34.56 kB / 0.5426 GB, free: 23.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3552, allocations: 0 / 0.5426 GB, free: 23.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001955/0.3554, allocations: 67.33 kB / 0.5427 GB, free: 23.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.3554, allocations: 51.41 kB / 0.5427 GB, free: 23.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.3555, allocations: 144.3 kB / 0.5429 GB, free: 23.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.3555, allocations: 29.7 kB / 0.5429 GB, free: 23.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.3555, allocations: 113.8 kB / 0.543 GB, free: 23.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.3555, allocations: 18.3 kB / 0.543 GB, free: 23.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.3556, allocations: 24.25 kB / 0.543 GB, free: 22.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.3556, allocations: 318.2 kB / 0.5433 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.3556, allocations: 13.59 kB / 0.5434 GB, free: 22.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.3557, allocations: 36.55 kB / 0.5434 GB, free: 22.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/0.3557, allocations: 46.45 kB / 0.5434 GB, free: 22.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3557, allocations: 3.312 kB / 0.5434 GB, free: 22.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.518e-05/0.3558, allocations: 80.44 kB / 0.5435 GB, free: 22.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3559, allocations: 10.16 kB / 0.5435 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3559, allocations: 4.062 kB / 0.5435 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3559, allocations: 4.062 kB / 0.5435 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.356, allocations: 15.09 kB / 0.5435 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.356, allocations: 3.938 kB / 0.5435 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.356, allocations: 11.02 kB / 0.5436 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.356, allocations: 3.312 kB / 0.5436 GB, free: 22.52 MB / 382.1 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 5.92e-05/0.3561, allocations: 120.1 kB / 0.5437 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3561, allocations: 7.016 kB / 0.5437 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.3561, allocations: 11.41 kB / 0.5437 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3561, allocations: 0 / 0.5437 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3561, allocations: 7.984 kB / 0.5437 GB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3561, allocations: 0 / 0.5437 GB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.3563, allocations: 205 kB / 0.5439 GB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3563, allocations: 3.938 kB / 0.5439 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.3564, allocations: 6.438 kB / 0.5439 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3564, allocations: 3.188 kB / 0.5439 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3564, allocations: 0 / 0.5439 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3564, allocations: 0 / 0.5439 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3564, allocations: 0 / 0.5439 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.3565, allocations: 176.3 kB / 0.5441 GB, free: 22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.3565, allocations: 81.06 kB / 0.5442 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3565, allocations: 3.094 kB / 0.5442 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.3566, allocations: 3.562 kB / 0.5442 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.3566, allocations: 7.406 kB / 0.5442 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3566, allocations: 0 / 0.5442 GB, free: 21.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.214e-05/0.3567, allocations: 112.5 kB / 0.5443 GB, free: 21.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3567, allocations: 0 / 0.5443 GB, free: 21.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.3569, allocations: 23.05 kB / 0.5443 GB, free: 21.8 MB / 382.1 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.0002398/0.3572, allocations: 0.7061 MB / 0.545 GB, free: 21.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.3573, allocations: 29.44 kB / 0.545 GB, free: 21.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3573, allocations: 0 / 0.545 GB, free: 21.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.668e-05/0.3573, allocations: 12.84 kB / 0.545 GB, free: 21.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.3576, allocations: 14.56 kB / 0.545 GB, free: 21.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.3588, allocations: 1.578 MB / 0.5466 GB, free: 19.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.3589, allocations: 0.6974 MB / 0.5473 GB, free: 19.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.366e-05/0.3589, allocations: 11.19 kB / 0.5473 GB, free: 19.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.359, allocations: 22.59 kB / 0.5473 GB, free: 18.99 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.359, allocations: 0 / 0.5473 GB, free: 18.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.3857, allocations: 2.033 MB / 0.5493 GB, free: 18.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.333, allocations: 8.484 kB / 0.5493 GB, free: 18.54 MB / 382.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical4_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_Electrical4.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.207176637995872] Failed to read output from testmodel.py, exit status != 0: 8.400741041012225 8.410332396 8.054783128 Calling exit ...