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.0014/0.0014, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.413/1.413, allocations: 230.6 MB / 252.7 MB, free: 8.102 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.001662/0.001662, allocations: 205.6 kB / 309.2 MB, free: 2.949 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.04124/0.04124, allocations: 8.916 MB / 374.6 MB, free: 1.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: "" <> 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: 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.002564/0.002564, allocations: 95.86 kB / 0.4891 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2616, allocations: 55.59 MB / 0.5434 GB, free: 26.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002376/0.264, allocations: 1.778 MB / 0.5452 GB, free: 25.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006765/0.2647, allocations: 462.4 kB / 0.5456 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.712e-05/0.2648, allocations: 3.938 kB / 0.5456 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.2649, allocations: 21.73 kB / 0.5456 GB, free: 25.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.465e-05/0.265, allocations: 41.61 kB / 0.5457 GB, free: 25.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.2651, allocations: 22.03 kB / 0.5457 GB, free: 25.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.2652, allocations: 121.7 kB / 0.5458 GB, free: 25.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.2653, allocations: 31.97 kB / 0.5458 GB, free: 25.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.2654, allocations: 50.42 kB / 0.5459 GB, free: 25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.418e-05/0.2654, allocations: 46.17 kB / 0.5459 GB, free: 24.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.2655, allocations: 13.56 kB / 0.5459 GB, free: 24.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.122e-05/0.2655, allocations: 9.562 kB / 0.546 GB, free: 24.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.2655, allocations: 22.48 kB / 0.546 GB, free: 24.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.2656, allocations: 46.61 kB / 0.546 GB, free: 24.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.2657, allocations: 125.5 kB / 0.5461 GB, free: 24.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2657, allocations: 0 / 0.5461 GB, free: 24.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2657, allocations: 0 / 0.5461 GB, free: 24.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2657, allocations: 3.938 kB / 0.5461 GB, free: 24.89 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.0004326/0.2661, allocations: 332 kB / 0.5465 GB, free: 24.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2662, allocations: 9.594 kB / 0.5465 GB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.2662, allocations: 45.44 kB / 0.5465 GB, free: 24.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.2663, allocations: 11.17 kB / 0.5465 GB, free: 24.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.2664, allocations: 141.9 kB / 0.5467 GB, free: 24.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2664, allocations: 11.62 kB / 0.5467 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.2665, allocations: 11.03 kB / 0.5467 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.2666, allocations: 134 kB / 0.5468 GB, free: 24.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2667, allocations: 3.156 kB / 0.5468 GB, free: 24.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2667, allocations: 4 kB / 0.5468 GB, free: 24.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2667, allocations: 3 kB / 0.5468 GB, free: 24.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.439e-05/0.2668, allocations: 57.14 kB / 0.5469 GB, free: 24.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005877/0.2674, allocations: 453.1 kB / 0.5473 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.231e-05/0.2674, allocations: 46.64 kB / 0.5473 GB, free: 23.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.2675, allocations: 20.64 kB / 0.5474 GB, free: 23.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.2675, allocations: 0 / 0.5474 GB, free: 23.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.2675, allocations: 34.56 kB / 0.5474 GB, free: 23.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2675, allocations: 0 / 0.5474 GB, free: 23.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001453/0.2676, allocations: 65.66 kB / 0.5475 GB, free: 23.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.2677, allocations: 54.41 kB / 0.5475 GB, free: 23.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.2677, allocations: 141.8 kB / 0.5476 GB, free: 23.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.2678, allocations: 29.7 kB / 0.5477 GB, free: 23.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.2678, allocations: 120.8 kB / 0.5478 GB, free: 23.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.2678, allocations: 17.53 kB / 0.5478 GB, free: 23.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.2678, allocations: 27.64 kB / 0.5478 GB, free: 23.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.2679, allocations: 320.5 kB / 0.5481 GB, free: 23.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.2679, allocations: 13.36 kB / 0.5482 GB, free: 23.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-05/0.2679, allocations: 42.66 kB / 0.5482 GB, free: 23.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.268, allocations: 48.89 kB / 0.5482 GB, free: 22.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.268, allocations: 0 / 0.5482 GB, free: 22.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.985e-05/0.2681, allocations: 83.5 kB / 0.5483 GB, free: 22.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.2681, allocations: 3.188 kB / 0.5483 GB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2681, allocations: 3.094 kB / 0.5483 GB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2681, allocations: 0 / 0.5483 GB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.2682, allocations: 16.12 kB / 0.5483 GB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2682, allocations: 64 / 0.5483 GB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.2682, allocations: 11.19 kB / 0.5484 GB, free: 22.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2682, allocations: 3.156 kB / 0.5484 GB, free: 22.92 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.305e-05/0.2683, allocations: 120.8 kB / 0.5485 GB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.2683, allocations: 10.48 kB / 0.5485 GB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.2683, allocations: 15.88 kB / 0.5485 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2683, allocations: 0 / 0.5485 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2684, allocations: 3.281 kB / 0.5485 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.2684, allocations: 0 / 0.5485 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.2685, allocations: 169.1 kB / 0.5487 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2685, allocations: 0 / 0.5487 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.2685, allocations: 12.34 kB / 0.5487 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2685, allocations: 0 / 0.5487 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2686, allocations: 6 kB / 0.5487 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2686, allocations: 0 / 0.5487 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2686, allocations: 0 / 0.5487 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.2687, allocations: 175.3 kB / 0.5488 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.2687, allocations: 7.172 kB / 0.5489 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2687, allocations: 0 / 0.5489 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.2688, allocations: 3.562 kB / 0.5489 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.2688, allocations: 3.094 kB / 0.5489 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.2688, allocations: 2.969 kB / 0.5489 GB, free: 22.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.921e-05/0.2689, allocations: 110.1 kB / 0.549 GB, free: 22.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2689, allocations: 0 / 0.549 GB, free: 22.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.2691, allocations: 22.64 kB / 0.549 GB, free: 22.34 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.0002262/0.2693, allocations: 0.7024 MB / 0.5497 GB, free: 21.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.213e-05/0.2694, allocations: 27.03 kB / 0.5497 GB, free: 21.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2694, allocations: 11.06 kB / 0.5497 GB, free: 21.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/0.2694, allocations: 13.97 kB / 0.5497 GB, free: 21.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.2697, allocations: 13.33 kB / 0.5497 GB, free: 21.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.2709, allocations: 1.572 MB / 0.5513 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.749e-05/0.2709, allocations: 88.94 kB / 0.5514 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.669e-05/0.271, allocations: 15.31 kB / 0.5514 GB, free: 20.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.271, allocations: 26.47 kB / 0.5514 GB, free: 20.15 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.271, allocations: 0 / 0.5514 GB, free: 20.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.3006, allocations: 2.599 MB / 0.5539 GB, free: 19.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.66, allocations: 13.59 kB / 0.5539 GB, free: 19.24 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.287900304887444] Failed to read output from testmodel.py, exit status != 0: 11.765553975012153 11.777860836 11.509305921 Calling exit ...