Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.001339/0.001339, allocations: 113 kB / 18.94 MB, free: 2.934 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.499/1.499, allocations: 230.6 MB / 252.6 MB, free: 8.34 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.001575/0.001575, allocations: 215 kB / 309.2 MB, free: 3.18 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.04274/0.04274, allocations: 8.92 MB / 374.6 MB, free: 1.934 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.Electrical2,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical2,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical2",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.00255/0.00255, allocations: 83.88 kB / 0.4892 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2739, allocations: 55.6 MB / 0.5435 GB, free: 26.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001412/0.2753, allocations: 0.5066 MB / 0.544 GB, free: 26.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001239/0.2754, allocations: 25.67 kB / 0.544 GB, free: 26.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.2754, allocations: 0 / 0.544 GB, free: 26.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.2754, allocations: 0 / 0.544 GB, free: 26.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.67e-05/0.2755, allocations: 7.938 kB / 0.544 GB, free: 26.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.542e-05/0.2756, allocations: 10.72 kB / 0.544 GB, free: 26.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.2756, allocations: 14.12 kB / 0.544 GB, free: 26.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.2757, allocations: 3.938 kB / 0.5441 GB, free: 26.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.642e-05/0.2757, allocations: 7.219 kB / 0.5441 GB, free: 26.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.586e-05/0.2757, allocations: 6.719 kB / 0.5441 GB, free: 26.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.2757, allocations: 3.188 kB / 0.5441 GB, free: 26.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-06/0.2757, allocations: 0 / 0.5441 GB, free: 26.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.2758, allocations: 3.938 kB / 0.5441 GB, free: 26.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.2758, allocations: 11.09 kB / 0.5441 GB, free: 26.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.489e-05/0.2758, allocations: 20.33 kB / 0.5441 GB, free: 26.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2758, allocations: 0 / 0.5441 GB, free: 26.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2758, allocations: 0 / 0.5441 GB, free: 26.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2758, allocations: 3.062 kB / 0.5441 GB, free: 26.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002651/0.2761, allocations: 247.1 kB / 0.5443 GB, free: 26.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2761, allocations: 9 kB / 0.5443 GB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.463e-05/0.2762, allocations: 30.75 kB / 0.5444 GB, free: 26.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.034e-05/0.2762, allocations: 4.891 kB / 0.5444 GB, free: 26.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.594e-05/0.2763, allocations: 113.3 kB / 0.5445 GB, free: 26.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-06/0.2763, allocations: 4.375 kB / 0.5445 GB, free: 26.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.2763, allocations: 7.281 kB / 0.5445 GB, free: 26.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.563e-05/0.2764, allocations: 29.39 kB / 0.5445 GB, free: 25.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.2764, allocations: 3.938 kB / 0.5445 GB, free: 25.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.2764, allocations: 0 / 0.5445 GB, free: 25.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2764, allocations: 3.062 kB / 0.5445 GB, free: 25.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.018e-05/0.2764, allocations: 14.38 kB / 0.5445 GB, free: 25.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.2765, allocations: 123.7 kB / 0.5447 GB, free: 25.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.752e-05/0.2766, allocations: 38.06 kB / 0.5447 GB, free: 25.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.2766, allocations: 15.23 kB / 0.5447 GB, free: 25.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.2766, allocations: 0 / 0.5447 GB, free: 25.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.038e-05/0.2766, allocations: 30.56 kB / 0.5447 GB, free: 25.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.2766, allocations: 0 / 0.5447 GB, free: 25.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001249/0.2767, allocations: 54.03 kB / 0.5448 GB, free: 25.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.2768, allocations: 58.02 kB / 0.5449 GB, free: 25.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.141e-05/0.2768, allocations: 97.11 kB / 0.5449 GB, free: 25.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.2768, allocations: 29.7 kB / 0.545 GB, free: 25.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.606e-05/0.2768, allocations: 80.14 kB / 0.5451 GB, free: 25.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2769, allocations: 14.62 kB / 0.5451 GB, free: 25.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.2769, allocations: 20.84 kB / 0.5451 GB, free: 25.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.573e-05/0.2769, allocations: 310.8 kB / 0.5454 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.2769, allocations: 7.188 kB / 0.5454 GB, free: 25.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.2769, allocations: 6.578 kB / 0.5454 GB, free: 25.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.231e-05/0.277, allocations: 26.52 kB / 0.5454 GB, free: 25.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.277, allocations: 4 kB / 0.5454 GB, free: 25.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.667e-05/0.277, allocations: 49.72 kB / 0.5455 GB, free: 25.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.277, allocations: 14 kB / 0.5455 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.277, allocations: 0 / 0.5455 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2771, allocations: 0 / 0.5455 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/0.2771, allocations: 9.422 kB / 0.5455 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2771, allocations: 0 / 0.5455 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.2772, allocations: 3.188 kB / 0.5455 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-06/0.2772, allocations: 0 / 0.5455 GB, free: 25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 3.7e-05/0.2772, allocations: 117.2 kB / 0.5456 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.2772, allocations: 7.891 kB / 0.5456 GB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.441e-05/0.2772, allocations: 3.688 kB / 0.5456 GB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2772, allocations: 0 / 0.5456 GB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2772, allocations: 0 / 0.5456 GB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2772, allocations: 3.25 kB / 0.5456 GB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.043e-05/0.2773, allocations: 122.8 kB / 0.5457 GB, free: 24.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2773, allocations: 3.938 kB / 0.5457 GB, free: 24.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.2773, allocations: 13.19 kB / 0.5458 GB, free: 24.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2773, allocations: 3.938 kB / 0.5458 GB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2773, allocations: 4 kB / 0.5458 GB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2773, allocations: 0 / 0.5458 GB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2774, allocations: 0 / 0.5458 GB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.411e-05/0.2774, allocations: 72.61 kB / 0.5458 GB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.2775, allocations: 6.688 kB / 0.5458 GB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.2775, allocations: 3.938 kB / 0.5458 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.846e-05/0.2775, allocations: 4 kB / 0.5458 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.2775, allocations: 7.25 kB / 0.5459 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.2775, allocations: 0 / 0.5459 GB, free: 24.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.679e-05/0.2775, allocations: 81.91 kB / 0.5459 GB, free: 24.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2775, allocations: 0 / 0.5459 GB, free: 24.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.2777, allocations: 3.125 kB / 0.5459 GB, free: 24.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (3): * Single equations (assignments): 3 * 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.0001972/0.2779, allocations: 0.6128 MB / 0.5465 GB, free: 23.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.901e-05/0.278, allocations: 21.23 kB / 0.5466 GB, free: 23.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.278, allocations: 0 / 0.5466 GB, free: 23.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.278, allocations: 10.31 kB / 0.5466 GB, free: 23.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.2781, allocations: 7.844 kB / 0.5466 GB, free: 23.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.2789, allocations: 1.186 MB / 0.5477 GB, free: 22.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.62e-05/0.2789, allocations: 0.6782 MB / 0.5484 GB, free: 22.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.45e-05/0.279, allocations: 0 / 0.5484 GB, free: 22.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.279, allocations: 10.59 kB / 0.5484 GB, free: 22.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.279, allocations: 0 / 0.5484 GB, free: 22.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.3073, allocations: 1.246 MB / 0.5496 GB, free: 21.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.25, allocations: 5.766 kB / 0.5496 GB, free: 21.66 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical2_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_Electrical2.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.104460916001699] Failed to read output from testmodel.py, exit status != 0: 11.352266581001459 11.364969886 11.086583706 Calling exit ...