Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.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.001318/0.001318, 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.544/1.544, allocations: 230.6 MB / 252.7 MB, free: 8.324 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.001572/0.001572, allocations: 226.8 kB / 309.2 MB, free: 3.164 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.04259/0.04259, allocations: 8.909 MB / 374.6 MB, free: 1.918 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.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",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.003593/0.003593, allocations: 87.88 kB / 0.4892 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3165, allocations: 55.6 MB / 0.5435 GB, free: 26.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01533/0.3318, allocations: 19.05 MB / 0.5621 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.342, allocations: 5.116 MB / 0.5671 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003492/0.3455, allocations: 183 kB / 0.5673 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01751/0.363, allocations: 8.323 MB / 0.5754 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008829/0.3718, allocations: 2.228 MB / 0.5776 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004926/0.3768, allocations: 1.63 MB / 0.5792 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01871/0.3955, allocations: 10.91 MB / 0.5898 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03401/0.4295, allocations: 16.39 MB / 0.6058 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01188/0.4414, allocations: 6.215 MB / 0.6119 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01357/0.4549, allocations: 6.86 MB / 0.6186 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004888/0.4598, allocations: 1.621 MB / 0.6202 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006976/0.4668, allocations: 1.933 MB / 0.6221 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007043/0.4738, allocations: 3.312 MB / 0.6253 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01333/0.4872, allocations: 6.401 MB / 0.6316 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03074/0.5179, allocations: 21.97 MB / 0.653 GB, free: 12.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.5179, allocations: 0 / 0.653 GB, free: 12.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5179, allocations: 0 / 0.653 GB, free: 12.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009545/0.5189, allocations: 0 / 0.653 GB, free: 12.62 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.04656/0.5654, allocations: 13.94 MB / 0.6666 GB, free: 14.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.5655, allocations: 8.031 kB / 0.6667 GB, free: 14.58 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007094/0.5726, allocations: 1.57 MB / 0.6682 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04466/0.6172, allocations: 7.785 MB / 0.6758 GB, free: 5.199 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0184/0.6356, allocations: 6.908 MB / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001002/0.6367, allocations: 0.807 MB / 0.6833 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005192/0.6418, allocations: 1.062 MB / 0.6844 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2856/0.9275, allocations: 17.8 MB / 0.7017 GB, free: 100.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003869/0.9279, allocations: 20.94 kB / 0.7018 GB, free: 100.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002679/0.9305, allocations: 451 kB / 0.7022 GB, free: 100 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006311/0.9312, allocations: 0.5789 MB / 0.7028 GB, free: 99.99 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03382/0.965, allocations: 16.26 MB / 0.7186 GB, free: 94.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09219/1.057, allocations: 51.97 MB / 0.7694 GB, free: 61.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/1.069, allocations: 7.623 MB / 0.7768 GB, free: 54.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004862/1.074, allocations: 3.416 MB / 0.7802 GB, free: 50.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/1.075, allocations: 153.6 kB / 0.7803 GB, free: 50.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.126e-05/1.075, allocations: 90.94 kB / 0.7804 GB, free: 50.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=492): time 6.943e-06/1.075, allocations: 0 / 0.7804 GB, free: 50.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=492): time 0.02021/1.095, allocations: 10.34 MB / 0.7905 GB, free: 40.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/1.095, allocations: 129.5 kB / 0.7906 GB, free: 40.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005521/1.101, allocations: 3.501 MB / 0.794 GB, free: 36.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008335/1.102, allocations: 101.7 kB / 0.7941 GB, free: 36.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001824/1.103, allocations: 4.494 MB / 0.7985 GB, free: 31.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00154/1.105, allocations: 1.753 MB / 0.8002 GB, free: 30.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00289/1.108, allocations: 1.327 MB / 0.8015 GB, free: 28.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.759e-05/1.108, allocations: 309.1 kB / 0.8018 GB, free: 28.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004258/1.112, allocations: 3.277 MB / 0.805 GB, free: 25.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005589/1.118, allocations: 5.615 MB / 0.8105 GB, free: 18.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/1.128, allocations: 9.543 MB / 0.8198 GB, free: 8.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.05e-05/1.128, allocations: 20 kB / 0.8199 GB, free: 8.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.018/1.146, allocations: 10.29 MB / 0.8299 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.146, allocations: 36 kB / 0.8299 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/1.146, allocations: 79.94 kB / 0.83 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003945/1.15, allocations: 1.086 MB / 0.8311 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0068/1.157, allocations: 1.529 MB / 0.8326 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/1.177, allocations: 13.22 MB / 0.8455 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00519/1.182, allocations: 0.8616 MB / 0.8463 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.183, allocations: 324 kB / 0.8466 GB, free: 12.08 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (790): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008694/1.192, allocations: 4.122 MB / 0.8507 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/1.193, allocations: 413.3 kB / 0.8511 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/1.209, allocations: 7.821 MB / 0.8587 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01242/1.221, allocations: 6.488 MB / 0.865 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.084e-05/1.221, allocations: 12 kB / 0.865 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.639e-05/1.221, allocations: 23.91 kB / 0.8651 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04609/1.268, allocations: 17.61 MB / 0.8823 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001048/1.268, allocations: 16.19 kB / 0.8823 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004626/1.272, allocations: 0.9595 MB / 0.8832 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003504/1.276, allocations: 0.9907 MB / 0.8842 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001186/1.277, allocations: 132 kB / 0.8843 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01846/1.295, allocations: 12.9 MB / 0.8969 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-05/1.295, allocations: 19.94 kB / 0.8969 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02797/1.323, allocations: 12.14 MB / 0.9088 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003736/1.327, allocations: 1.105 MB / 0.9098 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009592/1.328, allocations: 108 kB / 0.91 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002685/1.331, allocations: 315.6 kB / 0.9103 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008046/1.332, allocations: 427.5 kB / 0.9107 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003482/1.332, allocations: 172 kB / 0.9108 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004161/1.336, allocations: 2.358 MB / 0.9131 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.336, allocations: 0 / 0.9131 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009406/1.346, allocations: 2.683 MB / 0.9157 GB, free: 3.945 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (501): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2924/1.638, allocations: 12.89 MB / 0.9283 GB, free: 180 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.65, allocations: 8.296 MB / 0.9364 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.127e-05/1.65, allocations: 2.969 kB / 0.9364 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006256/1.656, allocations: 3.978 MB / 0.9403 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005032/1.661, allocations: 0.9434 MB / 0.9412 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1068/1.768, allocations: 59.76 MB / 0.9996 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/1.78, allocations: 7.011 MB / 1.006 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007155/1.787, allocations: 2.539 MB / 1.009 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006495/1.794, allocations: 3.678 MB / 1.013 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.513e-06/1.794, allocations: 0 / 1.013 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.47/2.264, allocations: 140.2 MB / 1.149 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.83/24.1, allocations: 6.922 kB / 1.149 GB, free: 163.9 MB / 0.5762 GB " [Timeout remaining time 636] (rm -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; mkfifo HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe >> ../files/HanserModelica_HanserModelica.Machines.EquivalentCircuit.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Machines.EquivalentCircuit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 HanserModelica_HanserModelica_Machines_EquivalentCircuit.fmu > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.056487008005206] Failed to read output from testmodel.py, exit status != 0: 24.270419334003236 24.283033425 23.761558854 Calling exit ...