Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.0007899/0.0007899, 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.9089/0.9089, allocations: 177.1 MB / 199.4 MB, free: 5.938 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.00113/0.00113, allocations: 163.8 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.024/0.024, allocations: 6.661 MB / 319 MB, free: 12 MB / 298.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.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 445.4 MB, free: 110 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.077e-05, allocations: 3.688 kB / 445.4 MB, free: 110 MB / 410.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.001934/0.001955, allocations: 1.767 MB / 447.1 MB, free: 108.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005512/0.002506, allocations: 470.3 kB / 447.6 MB, free: 108.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.002571, allocations: 2.344 kB / 447.6 MB, free: 108.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.654e-05/0.002667, allocations: 18.66 kB / 447.6 MB, free: 108.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.508e-05/0.002722, allocations: 39.86 kB / 447.7 MB, free: 108.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.002839, allocations: 23.39 kB / 447.7 MB, free: 108.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.002972, allocations: 128.2 kB / 447.8 MB, free: 108.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.003087, allocations: 25.53 kB / 447.8 MB, free: 108.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.294e-05/0.00316, allocations: 75.92 kB / 447.9 MB, free: 108.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/0.003233, allocations: 31.7 kB / 447.9 MB, free: 108.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.003261, allocations: 9.844 kB / 448 MB, free: 108.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.003277, allocations: 15.09 kB / 448 MB, free: 108.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.003298, allocations: 28.44 kB / 448 MB, free: 108.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.003335, allocations: 38.33 kB / 448 MB, free: 108.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.003472, allocations: 129.6 kB / 448.2 MB, free: 108.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003474, allocations: 1.094 kB / 448.2 MB, free: 108.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003475, allocations: 0 / 448.2 MB, free: 108.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.003479, allocations: 0 / 448.2 MB, free: 108.3 MB / 410.7 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.0003619/0.003841, allocations: 345.9 kB / 448.5 MB, free: 108 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.003878, allocations: 10.41 kB / 448.5 MB, free: 108 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.003907, allocations: 44.44 kB / 448.6 MB, free: 108 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.003935, allocations: 13.36 kB / 448.6 MB, free: 108 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.00408, allocations: 136.5 kB / 448.7 MB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.004091, allocations: 8.844 kB / 448.7 MB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.004111, allocations: 14.44 kB / 448.7 MB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.004253, allocations: 123.8 kB / 448.8 MB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.00426, allocations: 2.172 kB / 448.8 MB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.004271, allocations: 9.656 kB / 448.9 MB, free: 107.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.004277, allocations: 3 kB / 448.9 MB, free: 107.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.634e-05/0.004363, allocations: 61.56 kB / 448.9 MB, free: 107.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.004839, allocations: 447.9 kB / 449.4 MB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.8e-05/0.004917, allocations: 50.02 kB / 449.4 MB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.004941, allocations: 20.27 kB / 449.4 MB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-06/0.004947, allocations: 1.156 kB / 449.4 MB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.004963, allocations: 34.31 kB / 449.5 MB, free: 107.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.004964, allocations: 0.9375 kB / 449.5 MB, free: 107.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001325/0.005097, allocations: 66.73 kB / 449.5 MB, free: 107.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.705e-05/0.005114, allocations: 53.06 kB / 449.6 MB, free: 107.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.005189, allocations: 143.4 kB / 449.7 MB, free: 107 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-06/0.005194, allocations: 27.61 kB / 449.7 MB, free: 107 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.005233, allocations: 121.4 kB / 449.9 MB, free: 106.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.005242, allocations: 15.48 kB / 449.9 MB, free: 106.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.005268, allocations: 27.31 kB / 449.9 MB, free: 106.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.045e-05/0.005298, allocations: 320.3 kB / 450.2 MB, free: 106.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.005318, allocations: 16.67 kB / 450.2 MB, free: 106.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.005345, allocations: 33.3 kB / 450.3 MB, free: 106.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.527e-05/0.00539, allocations: 48.25 kB / 450.3 MB, free: 106.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.005393, allocations: 1.812 kB / 450.3 MB, free: 106.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.27e-05/0.005465, allocations: 90.52 kB / 450.4 MB, free: 106.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.005477, allocations: 5.141 kB / 450.4 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.005481, allocations: 2.938 kB / 450.4 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.005493, allocations: 1.156 kB / 450.4 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.005569, allocations: 15.03 kB / 450.4 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.005575, allocations: 5.031 kB / 450.4 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.0056, allocations: 9.609 kB / 450.4 MB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.005605, allocations: 6.141 kB / 450.4 MB, free: 106.4 MB / 410.7 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 4.162e-05/0.005647, allocations: 116 kB / 450.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.005662, allocations: 12.48 kB / 450.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.781e-05/0.005679, allocations: 14.88 kB / 450.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.005681, allocations: 1.062 kB / 450.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.005685, allocations: 1.875 kB / 450.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005688, allocations: 0 / 450.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.872e-05/0.005787, allocations: 162.5 kB / 450.7 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.005787, allocations: 0 / 450.7 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.005828, allocations: 11.52 kB / 450.8 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005829, allocations: 0.75 kB / 450.8 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.005835, allocations: 1.375 kB / 450.8 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.005836, allocations: 0 / 450.8 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005837, allocations: 0.6562 kB / 450.8 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.654e-05/0.005934, allocations: 177 kB / 450.9 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.005946, allocations: 8.641 kB / 450.9 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.005957, allocations: 2.016 kB / 450.9 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.43e-05/0.006001, allocations: 2.219 kB / 450.9 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.006015, allocations: 3.094 kB / 451 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.006019, allocations: 10.19 kB / 451 MB, free: 105.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.969e-05/0.006059, allocations: 105.3 kB / 451.1 MB, free: 105.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006059, allocations: 1.062 kB / 451.1 MB, free: 105.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.006208, allocations: 25.08 kB / 451.1 MB, free: 105.8 MB / 410.7 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.0001592/0.006367, allocations: 0.7017 MB / 451.8 MB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.165e-05/0.006449, allocations: 26.61 kB / 451.8 MB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.00645, allocations: 3.938 kB / 451.8 MB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.006464, allocations: 16.92 kB / 451.8 MB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.006651, allocations: 11.12 kB / 451.8 MB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008429/0.007494, allocations: 1.55 MB / 453.4 MB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.689e-05/0.007541, allocations: 83.84 kB / 453.5 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.787e-05/0.007569, allocations: 9.797 kB / 453.5 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.007607, allocations: 26.72 kB / 453.5 MB, free: 103.7 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.007607, allocations: 1.125 kB / 453.5 MB, free: 103.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.02425, allocations: 2.727 MB / 456.2 MB, free: 102.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.028, allocations: 10.45 kB / 456.3 MB, free: 102.7 MB / 410.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical4_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_Electrical4.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.106487000361085] Failed to read output from testmodel.py, exit status != 0: 7.110792463645339 7.120776258 7.115435999 Calling exit ...