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.0008358/0.0008358, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.9/0.9, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001131/0.001131, allocations: 159.2 kB / 256 MB, free: 13.34 MB / 250.7 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.0233/0.0233, allocations: 6.668 MB / 319 MB, free: 26.75 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 445.4 MB, free: 37.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.943e-05, allocations: 2.281 kB / 445.4 MB, free: 37.63 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001118/0.001147, allocations: 0.4993 MB / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.001293, allocations: 23.89 kB / 445.9 MB, free: 37.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.001318, allocations: 3.938 kB / 445.9 MB, free: 37.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.001334, allocations: 4 kB / 445.9 MB, free: 37.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.084e-05/0.001375, allocations: 0 / 445.9 MB, free: 37.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.001479, allocations: 3.938 kB / 445.9 MB, free: 37.1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.42e-05/0.001533, allocations: 23.86 kB / 445.9 MB, free: 37.08 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.001579, allocations: 3.984 kB / 445.9 MB, free: 37.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.759e-05/0.001617, allocations: 7.984 kB / 446 MB, free: 37.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.001665, allocations: 4 kB / 446 MB, free: 37.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.001683, allocations: 4 kB / 446 MB, free: 37.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-06/0.00169, allocations: 0 / 446 MB, free: 37.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.001704, allocations: 4 kB / 446 MB, free: 37.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.001721, allocations: 7.938 kB / 446 MB, free: 37.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.942e-05/0.00178, allocations: 11.92 kB / 446 MB, free: 37.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.001783, allocations: 4 kB / 446 MB, free: 37.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.001785, allocations: 0 / 446 MB, free: 37.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.656e-06/0.001788, allocations: 0 / 446 MB, free: 37.03 MB / 330.7 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.0002529/0.002041, allocations: 250.3 kB / 446.2 MB, free: 36.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.002082, allocations: 8.031 kB / 446.2 MB, free: 36.75 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.377e-05/0.002105, allocations: 38.75 kB / 446.3 MB, free: 36.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.127e-05/0.002127, allocations: 4.891 kB / 446.3 MB, free: 36.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.435e-05/0.002191, allocations: 101.8 kB / 446.4 MB, free: 36.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.002203, allocations: 4.375 kB / 446.4 MB, free: 36.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.002222, allocations: 384 / 446.4 MB, free: 36.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.502e-05/0.002307, allocations: 42.19 kB / 446.4 MB, free: 36.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.002314, allocations: 192 / 446.4 MB, free: 36.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.002324, allocations: 384 / 446.4 MB, free: 36.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.002329, allocations: 4.125 kB / 446.4 MB, free: 36.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.353e-05/0.002363, allocations: 8 kB / 446.4 MB, free: 36.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.002474, allocations: 129.1 kB / 446.6 MB, free: 36.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.002536, allocations: 42.61 kB / 446.6 MB, free: 36.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.002558, allocations: 8.859 kB / 446.6 MB, free: 36.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.002566, allocations: 0 / 446.6 MB, free: 36.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.002581, allocations: 38.5 kB / 446.7 MB, free: 36.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.002582, allocations: 0 / 446.7 MB, free: 36.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000134/0.002716, allocations: 49.97 kB / 446.7 MB, free: 36.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.002739, allocations: 55.34 kB / 446.8 MB, free: 36.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.679e-05/0.002775, allocations: 101.8 kB / 446.9 MB, free: 36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-06/0.002781, allocations: 25.7 kB / 446.9 MB, free: 35.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.002799, allocations: 88.14 kB / 447 MB, free: 35.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.002825, allocations: 11.91 kB / 447 MB, free: 35.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.002847, allocations: 17.72 kB / 447 MB, free: 35.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.134e-05/0.002879, allocations: 318.8 kB / 447.3 MB, free: 35.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.002891, allocations: 4 kB / 447.3 MB, free: 35.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-06/0.002901, allocations: 15.88 kB / 447.3 MB, free: 35.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.002932, allocations: 16.86 kB / 447.3 MB, free: 35.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.002934, allocations: 0 / 447.3 MB, free: 35.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.421e-05/0.002979, allocations: 45.69 kB / 447.4 MB, free: 35.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.002992, allocations: 10.66 kB / 447.4 MB, free: 35.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.002997, allocations: 0 / 447.4 MB, free: 35.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.003009, allocations: 0 / 447.4 MB, free: 35.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.00311, allocations: 19.92 kB / 447.4 MB, free: 35.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.003116, allocations: 0 / 447.4 MB, free: 35.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.136e-05/0.003127, allocations: 0 / 447.4 MB, free: 35.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.003132, allocations: 7.922 kB / 447.4 MB, free: 35.4 MB / 330.7 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.788e-05/0.00317, allocations: 117.8 kB / 447.5 MB, free: 35.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-06/0.003175, allocations: 3.953 kB / 447.5 MB, free: 35.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.669e-05/0.003192, allocations: 3.688 kB / 447.5 MB, free: 35.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.003194, allocations: 0 / 447.5 MB, free: 35.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.003199, allocations: 7.938 kB / 447.6 MB, free: 35.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.003201, allocations: 4 kB / 447.6 MB, free: 35.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.311e-05/0.003244, allocations: 132.7 kB / 447.7 MB, free: 35.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.003245, allocations: 0 / 447.7 MB, free: 35.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.003287, allocations: 8 kB / 447.7 MB, free: 35.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.003289, allocations: 0 / 447.7 MB, free: 35.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.003296, allocations: 0 / 447.7 MB, free: 35.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.003296, allocations: 0 / 447.7 MB, free: 35.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.003298, allocations: 7.922 kB / 447.7 MB, free: 35.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.115e-05/0.003379, allocations: 75.8 kB / 447.8 MB, free: 34.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-06/0.003384, allocations: 4.031 kB / 447.8 MB, free: 34.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.003393, allocations: 3.938 kB / 447.8 MB, free: 34.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.0034, allocations: 0 / 447.8 MB, free: 34.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.003413, allocations: 12 kB / 447.8 MB, free: 34.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-06/0.003414, allocations: 0 / 447.8 MB, free: 34.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.167e-05/0.003426, allocations: 79.64 kB / 447.9 MB, free: 34.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003426, allocations: 0 / 447.9 MB, free: 34.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001139/0.00354, allocations: 8 kB / 447.9 MB, free: 34.87 MB / 330.7 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.00013/0.00367, allocations: 0.6087 MB / 448.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.572e-05/0.003735, allocations: 15.92 kB / 448.5 MB, free: 34.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.003738, allocations: 4 kB / 448.5 MB, free: 34.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-06/0.003746, allocations: 11.94 kB / 448.5 MB, free: 34.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.003853, allocations: 8 kB / 448.5 MB, free: 34.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.004377, allocations: 1.141 MB / 449.7 MB, free: 32.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.394e-05/0.004401, allocations: 67.27 kB / 449.7 MB, free: 32.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.394e-05/0.004415, allocations: 0 / 449.7 MB, free: 32.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.004444, allocations: 16.5 kB / 449.8 MB, free: 32.86 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.004444, allocations: 0 / 449.8 MB, free: 32.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.02346, allocations: 1.757 MB / 451.5 MB, free: 31.22 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.041, allocations: 10.69 kB / 451.5 MB, free: 31.21 MB / 330.7 MB " [Timeout remaining time 653] (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: 9.027561939321458] Failed to read output from testmodel.py, exit status != 0: 7.122323635965586 7.134022601 7.13010698 Calling exit ...