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.001613/0.001613, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.501/1.501, allocations: 230.6 MB / 252.6 MB, free: 8.309 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.00187/0.00187, allocations: 220.6 kB / 309.2 MB, free: 3.129 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.04149/0.04149, allocations: 8.915 MB / 374.6 MB, free: 1.887 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.002493/0.002493, allocations: 87.81 kB / 0.4892 GB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3007, allocations: 55.6 MB / 0.5435 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002361/0.303, allocations: 1.854 MB / 0.5453 GB, free: 25.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006156/0.3036, allocations: 0.4981 MB / 0.5458 GB, free: 25.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.3037, allocations: 3.188 kB / 0.5458 GB, free: 25.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.43e-05/0.3038, allocations: 21.7 kB / 0.5458 GB, free: 25.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.851e-05/0.3039, allocations: 34.38 kB / 0.5459 GB, free: 25.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.304, allocations: 24.73 kB / 0.5459 GB, free: 25.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3041, allocations: 123.7 kB / 0.546 GB, free: 25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3042, allocations: 31.06 kB / 0.546 GB, free: 24.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.3043, allocations: 46.42 kB / 0.5461 GB, free: 24.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.3043, allocations: 57 kB / 0.5461 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.3044, allocations: 13.59 kB / 0.5461 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.3044, allocations: 12.09 kB / 0.5462 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.3044, allocations: 26.22 kB / 0.5462 GB, free: 24.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.3044, allocations: 53.22 kB / 0.5462 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.3046, allocations: 121.8 kB / 0.5463 GB, free: 24.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3046, allocations: 0 / 0.5463 GB, free: 24.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3046, allocations: 3.938 kB / 0.5463 GB, free: 24.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3046, allocations: 0 / 0.5463 GB, free: 24.82 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.0004438/0.305, allocations: 332.7 kB / 0.5467 GB, free: 24.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3051, allocations: 13.47 kB / 0.5467 GB, free: 24.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.3051, allocations: 45.17 kB / 0.5467 GB, free: 24.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.3051, allocations: 11.39 kB / 0.5467 GB, free: 24.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.3053, allocations: 142.5 kB / 0.5469 GB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3053, allocations: 10.84 kB / 0.5469 GB, free: 24.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.3054, allocations: 10.88 kB / 0.5469 GB, free: 24.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3055, allocations: 102.9 kB / 0.547 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3055, allocations: 0 / 0.547 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3055, allocations: 4 kB / 0.547 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3055, allocations: 7.031 kB / 0.547 GB, free: 24.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.598e-05/0.3056, allocations: 59 kB / 0.5471 GB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/0.3062, allocations: 473 kB / 0.5475 GB, free: 23.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.793e-05/0.3063, allocations: 45.09 kB / 0.5475 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.3063, allocations: 19.45 kB / 0.5476 GB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.3064, allocations: 0 / 0.5476 GB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.3064, allocations: 30.56 kB / 0.5476 GB, free: 23.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.3064, allocations: 3.984 kB / 0.5476 GB, free: 23.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000169/0.3065, allocations: 67.45 kB / 0.5477 GB, free: 23.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.3066, allocations: 58.67 kB / 0.5477 GB, free: 23.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.3067, allocations: 140.5 kB / 0.5479 GB, free: 23.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.3067, allocations: 33.11 kB / 0.5479 GB, free: 23.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.3067, allocations: 118.2 kB / 0.548 GB, free: 23.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.3067, allocations: 15.09 kB / 0.548 GB, free: 23.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.3068, allocations: 19.94 kB / 0.548 GB, free: 23.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.387e-05/0.3068, allocations: 322.2 kB / 0.5483 GB, free: 23.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.3068, allocations: 17.19 kB / 0.5484 GB, free: 23.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-05/0.3069, allocations: 28.98 kB / 0.5484 GB, free: 22.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.371e-05/0.3069, allocations: 61.16 kB / 0.5484 GB, free: 22.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3069, allocations: 3.938 kB / 0.5484 GB, free: 22.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.118e-05/0.307, allocations: 77.78 kB / 0.5485 GB, free: 22.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.307, allocations: 6.75 kB / 0.5485 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.307, allocations: 0 / 0.5485 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.307, allocations: 0 / 0.5485 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.3071, allocations: 12.12 kB / 0.5485 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3071, allocations: 10.62 kB / 0.5485 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.3072, allocations: 3.953 kB / 0.5486 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.3072, allocations: 11.38 kB / 0.5486 GB, free: 22.87 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.36e-05/0.3072, allocations: 119.6 kB / 0.5487 GB, free: 22.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.3073, allocations: 7.203 kB / 0.5487 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.3073, allocations: 11.47 kB / 0.5487 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3073, allocations: 0 / 0.5487 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3073, allocations: 0 / 0.5487 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3073, allocations: 3.469 kB / 0.5487 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.3074, allocations: 173.1 kB / 0.5489 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3074, allocations: 3.406 kB / 0.5489 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.216e-05/0.3075, allocations: 10.66 kB / 0.5489 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3075, allocations: 0 / 0.5489 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3075, allocations: 0 / 0.5489 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3075, allocations: 3.062 kB / 0.5489 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3075, allocations: 7.406 kB / 0.5489 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.3076, allocations: 169.4 kB / 0.549 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.3077, allocations: 11.05 kB / 0.5491 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.3077, allocations: 3.469 kB / 0.5491 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.3078, allocations: 3.281 kB / 0.5491 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.3078, allocations: 3.125 kB / 0.5491 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3078, allocations: 0 / 0.5491 GB, free: 22.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.3078, allocations: 113 kB / 0.5492 GB, free: 22.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3078, allocations: 0 / 0.5492 GB, free: 22.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.308, allocations: 23.05 kB / 0.5492 GB, free: 22.29 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.0002554/0.3083, allocations: 0.7084 MB / 0.5499 GB, free: 21.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.3084, allocations: 30.16 kB / 0.5499 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3084, allocations: 0 / 0.5499 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.56e-05/0.3084, allocations: 13.47 kB / 0.5499 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3087, allocations: 14.75 kB / 0.5499 GB, free: 21.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.3098, allocations: 1.576 MB / 0.5515 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.3099, allocations: 0.7024 MB / 0.5522 GB, free: 19.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.237e-05/0.3099, allocations: 10.42 kB / 0.5522 GB, free: 19.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.31, allocations: 26.72 kB / 0.5522 GB, free: 19.47 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.31, allocations: 0 / 0.5522 GB, free: 19.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3393, allocations: 2.169 MB / 0.5543 GB, free: 19.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.3, allocations: 8.719 kB / 0.5543 GB, free: 19.02 MB / 382.1 MB " [Timeout remaining time 649] (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.161096132003877] Failed to read output from testmodel.py, exit status != 0: 11.417339612002252 11.429794177 11.12242734 Calling exit ...