Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.001292/0.001292, allocations: 109.2 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.468/1.468, allocations: 230.6 MB / 252.6 MB, free: 8.316 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.001576/0.001576, allocations: 208.5 kB / 309.2 MB, free: 3.152 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.04176/0.04176, allocations: 8.917 MB / 374.6 MB, free: 1.902 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.Electrical3,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical3,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical3",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.004026/0.004026, allocations: 87.86 kB / 0.4892 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3315, allocations: 55.59 MB / 0.5435 GB, free: 26.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.002309/0.3338, allocations: 1.256 MB / 0.5447 GB, free: 25.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001492/0.3339, allocations: 25.47 kB / 0.5447 GB, free: 25.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.334, allocations: 0 / 0.5447 GB, free: 25.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.334, allocations: 7.125 kB / 0.5447 GB, free: 25.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.334, allocations: 3.938 kB / 0.5447 GB, free: 25.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.3342, allocations: 3.328 kB / 0.5448 GB, free: 25.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.417e-05/0.3342, allocations: 14.31 kB / 0.5448 GB, free: 25.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.3343, allocations: 6.344 kB / 0.5448 GB, free: 25.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.3343, allocations: 10.92 kB / 0.5448 GB, free: 25.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.3344, allocations: 6.906 kB / 0.5448 GB, free: 25.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.3344, allocations: 3.938 kB / 0.5448 GB, free: 25.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-06/0.3344, allocations: 0 / 0.5448 GB, free: 25.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.3344, allocations: 10.3 kB / 0.5448 GB, free: 25.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.3345, allocations: 7.062 kB / 0.5448 GB, free: 25.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.043e-05/0.3345, allocations: 5.141 kB / 0.5448 GB, free: 25.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3345, allocations: 3.938 kB / 0.5448 GB, free: 25.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3345, allocations: 0 / 0.5448 GB, free: 25.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3345, allocations: 0 / 0.5448 GB, free: 25.79 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.0003257/0.3349, allocations: 251.5 kB / 0.5451 GB, free: 25.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3349, allocations: 9.625 kB / 0.5451 GB, free: 25.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.3349, allocations: 38.17 kB / 0.5451 GB, free: 25.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.335, allocations: 7.953 kB / 0.5451 GB, free: 25.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.685e-05/0.335, allocations: 110.5 kB / 0.5452 GB, free: 25.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.335, allocations: 3.562 kB / 0.5452 GB, free: 25.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3351, allocations: 384 / 0.5452 GB, free: 25.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.861e-05/0.3352, allocations: 36.25 kB / 0.5453 GB, free: 25.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3352, allocations: 3.938 kB / 0.5453 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.3352, allocations: 7.938 kB / 0.5453 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3352, allocations: 0 / 0.5453 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.3352, allocations: 11.03 kB / 0.5453 GB, free: 25.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.3353, allocations: 126.4 kB / 0.5454 GB, free: 25.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.254e-05/0.3354, allocations: 34.47 kB / 0.5454 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.3354, allocations: 16 kB / 0.5454 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3354, allocations: 3.375 kB / 0.5454 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.3355, allocations: 37.69 kB / 0.5455 GB, free: 25.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3355, allocations: 0 / 0.5455 GB, free: 25.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000132/0.3356, allocations: 53.81 kB / 0.5455 GB, free: 25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.3356, allocations: 51.41 kB / 0.5456 GB, free: 24.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.744e-05/0.3357, allocations: 100.6 kB / 0.5457 GB, free: 24.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.3357, allocations: 25.7 kB / 0.5457 GB, free: 24.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.3357, allocations: 87.28 kB / 0.5458 GB, free: 24.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3357, allocations: 7.906 kB / 0.5458 GB, free: 24.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.3357, allocations: 20.91 kB / 0.5458 GB, free: 24.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.3358, allocations: 314.3 kB / 0.5461 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.3358, allocations: 7.219 kB / 0.5461 GB, free: 24.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.3358, allocations: 6.281 kB / 0.5461 GB, free: 24.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.3359, allocations: 19.23 kB / 0.5461 GB, free: 24.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3359, allocations: 0 / 0.5461 GB, free: 24.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.753e-05/0.3359, allocations: 45.78 kB / 0.5462 GB, free: 24.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3359, allocations: 10.19 kB / 0.5462 GB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3359, allocations: 0 / 0.5462 GB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3359, allocations: 4 kB / 0.5462 GB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.336, allocations: 9.984 kB / 0.5462 GB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.336, allocations: 3.281 kB / 0.5462 GB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.3361, allocations: 4 kB / 0.5462 GB, free: 24.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.3361, allocations: 0 / 0.5462 GB, free: 24.31 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 4.7e-05/0.3361, allocations: 109.1 kB / 0.5463 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.3361, allocations: 11.83 kB / 0.5463 GB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.3361, allocations: 11.2 kB / 0.5463 GB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3361, allocations: 3.344 kB / 0.5463 GB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3361, allocations: 7.938 kB / 0.5464 GB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3361, allocations: 0 / 0.5464 GB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.306e-05/0.3362, allocations: 119.2 kB / 0.5465 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3362, allocations: 3.938 kB / 0.5465 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.3363, allocations: 9.5 kB / 0.5465 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3363, allocations: 3.938 kB / 0.5465 GB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.3363, allocations: 4 kB / 0.5465 GB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3363, allocations: 4 kB / 0.5465 GB, free: 24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3363, allocations: 0 / 0.5465 GB, free: 24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.293e-05/0.3364, allocations: 80.95 kB / 0.5466 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-06/0.3364, allocations: 3.188 kB / 0.5466 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.3364, allocations: 3.938 kB / 0.5466 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.705e-05/0.3364, allocations: 0 / 0.5466 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.3364, allocations: 10.83 kB / 0.5466 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.3364, allocations: 0 / 0.5466 GB, free: 23.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.813e-05/0.3364, allocations: 82.44 kB / 0.5467 GB, free: 23.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3364, allocations: 0 / 0.5467 GB, free: 23.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001974/0.3366, allocations: 3.094 kB / 0.5467 GB, free: 23.84 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.0002135/0.3368, allocations: 0.6202 MB / 0.5473 GB, free: 23.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.056e-05/0.3369, allocations: 13.78 kB / 0.5473 GB, free: 23.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3369, allocations: 0 / 0.5473 GB, free: 23.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.3369, allocations: 13.92 kB / 0.5473 GB, free: 23.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.3371, allocations: 4.062 kB / 0.5473 GB, free: 23.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007309/0.3378, allocations: 1.166 MB / 0.5484 GB, free: 22.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3379, allocations: 0.6794 MB / 0.5491 GB, free: 21.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.402e-05/0.3379, allocations: 3.219 kB / 0.5491 GB, free: 21.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.338, allocations: 11.44 kB / 0.5491 GB, free: 21.36 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.338, allocations: 0 / 0.5491 GB, free: 21.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.3669, allocations: 1.254 MB / 0.5503 GB, free: 20.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.28, allocations: 10.73 kB / 0.5504 GB, free: 20.97 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical3_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_Electrical3.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.071041142997274] Failed to read output from testmodel.py, exit status != 0: 11.393206897002528 11.413828818 11.074985196 Calling exit ...