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.001671/0.001671, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.444/1.444, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001536/0.001536, allocations: 206 kB / 309.2 MB, free: 3.113 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.04074/0.04074, allocations: 8.926 MB / 374.6 MB, free: 6.609 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.002625/0.002625, allocations: 87.84 kB / 0.4892 GB, free: 44.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08426/0.08688, allocations: 55.61 MB / 0.5435 GB, free: 5.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.02089/0.1078, allocations: 16.26 MB / 0.5593 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2497/0.3575, allocations: 4.941 MB / 0.5642 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003768/0.3613, allocations: 185.1 kB / 0.5643 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0169/0.3782, allocations: 7.668 MB / 0.5718 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008297/0.3865, allocations: 2.175 MB / 0.5739 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005117/0.3916, allocations: 1.572 MB / 0.5755 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01412/0.4057, allocations: 10.9 MB / 0.5861 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03434/0.44, allocations: 16.27 MB / 0.602 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01236/0.4524, allocations: 6.202 MB / 0.6081 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01354/0.4659, allocations: 6.721 MB / 0.6146 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005506/0.4715, allocations: 1.625 MB / 0.6162 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008442/0.4799, allocations: 1.911 MB / 0.6181 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007203/0.4871, allocations: 3.31 MB / 0.6213 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01232/0.4994, allocations: 4.993 MB / 0.6262 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03001/0.5294, allocations: 22.09 MB / 0.6478 GB, free: 1.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.5294, allocations: 0 / 0.6478 GB, free: 1.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5294, allocations: 0 / 0.6478 GB, free: 1.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000624/0.5301, allocations: 0 / 0.6478 GB, free: 1.82 MB / 430.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.0441/0.5742, allocations: 13.93 MB / 0.6614 GB, free: 3.906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.658e-05/0.5742, allocations: 11.98 kB / 0.6614 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006763/0.581, allocations: 1.573 MB / 0.6629 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04539/0.6264, allocations: 7.771 MB / 0.6705 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0189/0.6453, allocations: 6.915 MB / 0.6773 GB, free: 3.684 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001102/0.6464, allocations: 0.8112 MB / 0.6781 GB, free: 2.879 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005916/0.6523, allocations: 1.058 MB / 0.6791 GB, free: 1.832 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04754/0.6998, allocations: 18.04 MB / 0.6967 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004782/0.7003, allocations: 7.953 kB / 0.6967 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003619/0.7039, allocations: 452.8 kB / 0.6971 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000704/0.7046, allocations: 0.5734 MB / 0.6977 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03761/0.7423, allocations: 16.19 MB / 0.7135 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1025/0.8447, allocations: 47.85 MB / 0.7602 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/0.8596, allocations: 7.6 MB / 0.7677 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006025/0.8656, allocations: 3.393 MB / 0.771 GB, free: 3.133 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005275/0.8661, allocations: 128.3 kB / 0.7711 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.8662, allocations: 90.89 kB / 0.7712 GB, free: 2.906 MB / 0.545 GB Notification: Performance of pre-optimization done (n=492): time 9.839e-06/0.8662, allocations: 0 / 0.7712 GB, free: 2.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=492): time 0.4203/1.287, allocations: 10.33 MB / 0.7813 GB, free: 159.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/1.287, allocations: 128.9 kB / 0.7814 GB, free: 159.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00571/1.292, allocations: 3.633 MB / 0.7849 GB, free: 159.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006021/1.293, allocations: 106.9 kB / 0.785 GB, free: 159.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002314/1.295, allocations: 4.497 MB / 0.7894 GB, free: 156.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001507/1.297, allocations: 1.75 MB / 0.7911 GB, free: 155.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001888/1.299, allocations: 1.324 MB / 0.7924 GB, free: 154.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.537e-05/1.299, allocations: 307.1 kB / 0.7927 GB, free: 154.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005019/1.304, allocations: 3.281 MB / 0.7959 GB, free: 153.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005993/1.31, allocations: 5.617 MB / 0.8014 GB, free: 149.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01173/1.321, allocations: 9.538 MB / 0.8107 GB, free: 143.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002243/1.322, allocations: 20.97 kB / 0.8108 GB, free: 143.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01815/1.34, allocations: 10.28 MB / 0.8208 GB, free: 139.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/1.34, allocations: 44.03 kB / 0.8208 GB, free: 139.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/1.34, allocations: 73.53 kB / 0.8209 GB, free: 139.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/1.343, allocations: 1.093 MB / 0.822 GB, free: 139.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005046/1.348, allocations: 1.523 MB / 0.8235 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/1.36, allocations: 13.06 MB / 0.8362 GB, free: 130.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005282/1.366, allocations: 0.8627 MB / 0.8371 GB, free: 129.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/1.367, allocations: 326.1 kB / 0.8374 GB, free: 129.8 MB / 0.545 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.008269/1.375, allocations: 4.112 MB / 0.8414 GB, free: 126.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/1.377, allocations: 414 kB / 0.8418 GB, free: 126.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/1.391, allocations: 7.823 MB / 0.8494 GB, free: 118.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008588/1.4, allocations: 6.5 MB / 0.8558 GB, free: 112.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.652e-05/1.4, allocations: 12 kB / 0.8558 GB, free: 112.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.189e-05/1.4, allocations: 23.91 kB / 0.8558 GB, free: 112.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02901/1.429, allocations: 16.98 MB / 0.8724 GB, free: 95.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-05/1.429, allocations: 14.81 kB / 0.8724 GB, free: 95.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003146/1.432, allocations: 0.9675 MB / 0.8733 GB, free: 94.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/1.435, allocations: 0.9752 MB / 0.8743 GB, free: 93.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004019/1.435, allocations: 136 kB / 0.8744 GB, free: 92.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.447, allocations: 12.74 MB / 0.8869 GB, free: 79.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.447, allocations: 15.94 kB / 0.8869 GB, free: 79.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/1.462, allocations: 12.13 MB / 0.8987 GB, free: 67.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003032/1.465, allocations: 1.102 MB / 0.8998 GB, free: 65.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009758/1.466, allocations: 112 kB / 0.8999 GB, free: 65.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002719/1.469, allocations: 311.6 kB / 0.9002 GB, free: 65.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007345/1.47, allocations: 427.4 kB / 0.9006 GB, free: 65.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003654/1.47, allocations: 172 kB / 0.9008 GB, free: 64.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00349/1.474, allocations: 2.354 MB / 0.9031 GB, free: 62.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.474, allocations: 0 / 0.9031 GB, free: 62.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007106/1.481, allocations: 2.686 MB / 0.9057 GB, free: 59.93 MB / 0.545 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.01584/1.497, allocations: 12.89 MB / 0.9183 GB, free: 46.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.509, allocations: 8.301 MB / 0.9264 GB, free: 38.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.628e-05/1.509, allocations: 0 / 0.9264 GB, free: 38.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006292/1.515, allocations: 3.98 MB / 0.9303 GB, free: 34.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006136/1.521, allocations: 0.9504 MB / 0.9312 GB, free: 33.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1127/1.634, allocations: 59.7 MB / 0.9895 GB, free: 2.164 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2605/1.895, allocations: 6.57 MB / 0.9959 GB, free: 181.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007834/1.902, allocations: 2.537 MB / 0.9984 GB, free: 181.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005727/1.908, allocations: 3.674 MB / 1.002 GB, free: 181.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.283e-06/1.908, allocations: 0 / 1.002 GB, free: 181.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1909/2.099, allocations: 136 MB / 1.135 GB, free: 73.57 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.01/20.11, allocations: 8.062 kB / 1.135 GB, free: 73.56 MB / 0.5763 GB " [Timeout remaining time 640] (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: 23.020257360301912] Failed to read output from testmodel.py, exit status != 0: 20.28700697887689 20.307242616 19.773677534 Calling exit ...