Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002018/0.002018, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 68.75 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2594, allocations: 53.36 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004099/0.2635, allocations: 2.871 MB / 434.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2649, allocations: 0.7673 MB / 435.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.265, allocations: 8 kB / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.2652, allocations: 71.34 kB / 435.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.2654, allocations: 91.06 kB / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.2657, allocations: 123.8 kB / 435.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.2662, allocations: 458.8 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.2664, allocations: 165.4 kB / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.2667, allocations: 191.4 kB / 436.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.267, allocations: 203.2 kB / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.884e-05/0.267, allocations: 44 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.976e-05/0.2671, allocations: 55.94 kB / 436.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.119e-05/0.2672, allocations: 95.73 kB / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.2674, allocations: 219 kB / 437.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.2679, allocations: 0.5027 MB / 437.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2679, allocations: 0 / 437.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2679, allocations: 4 kB / 437.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2679, allocations: 4 kB / 437.7 MB, free: 1.043 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001002/0.2689, allocations: 0.6146 MB / 438.4 MB, free: 408 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.269, allocations: 16.03 kB / 438.4 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.503e-05/0.2691, allocations: 82.7 kB / 438.5 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.2693, allocations: 60.64 kB / 438.5 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.2696, allocations: 214.7 kB / 438.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.2696, allocations: 29.38 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.541e-05/0.2697, allocations: 48.33 kB / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007151/0.2704, allocations: 463.3 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.2704, allocations: 0 / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.2705, allocations: 16 kB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.2705, allocations: 11.94 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005283/0.271, allocations: 283.9 kB / 439.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.2729, allocations: 1.267 MB / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.2733, allocations: 215.4 kB / 441 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.2737, allocations: 176.7 kB / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.2737, allocations: 4 kB / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.2737, allocations: 34.56 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.333e-06/0.2737, allocations: 0 / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001312/0.275, allocations: 490.3 kB / 441.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.2752, allocations: 235.3 kB / 442 MB, free: 12.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.2754, allocations: 214.8 kB / 442.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.2754, allocations: 29.7 kB / 442.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.2756, allocations: 200.6 kB / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.2756, allocations: 111.1 kB / 442.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.2757, allocations: 61.7 kB / 442.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2759, allocations: 338.8 kB / 442.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.276, allocations: 71.97 kB / 443 MB, free: 11.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.2763, allocations: 160.8 kB / 443.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.2766, allocations: 200.8 kB / 443.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2766, allocations: 0 / 443.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004628/0.2771, allocations: 277.1 kB / 443.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2771, allocations: 7.984 kB / 443.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2771, allocations: 0 / 443.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2771, allocations: 8 kB / 443.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.2774, allocations: 83.89 kB / 443.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2774, allocations: 0 / 443.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.2776, allocations: 43.73 kB / 443.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.2776, allocations: 4 kB / 443.7 MB, free: 10.72 MB / 350.1 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 (38): * Single equations (assignments): 38 * 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 0.0001616/0.2778, allocations: 157.8 kB / 443.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.2778, allocations: 27.8 kB / 443.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.249e-05/0.2779, allocations: 38.58 kB / 443.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.2779, allocations: 4 kB / 443.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.2779, allocations: 4 kB / 444 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2779, allocations: 3.984 kB / 444 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.279, allocations: 0.7273 MB / 444.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.279, allocations: 0 / 444.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.2793, allocations: 47.97 kB / 444.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003185/0.2796, allocations: 88.83 kB / 444.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.2796, allocations: 8 kB / 444.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.2816, allocations: 1.881 MB / 446.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2816, allocations: 4.031 kB / 446.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.2824, allocations: 0.4944 MB / 447.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.2824, allocations: 27.78 kB / 447.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.2825, allocations: 8.062 kB / 447.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.2826, allocations: 8 kB / 447.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.2827, allocations: 27.89 kB / 447.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.2827, allocations: 15.92 kB / 447.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.2829, allocations: 148.6 kB / 447.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2829, allocations: 4 kB / 447.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.2832, allocations: 103.8 kB / 447.5 MB, free: 6.695 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.2844, allocations: 1.047 MB / 448.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004156/0.2848, allocations: 200 kB / 448.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2848, allocations: 0 / 448.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.2852, allocations: 258.5 kB / 449 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.2856, allocations: 40.48 kB / 449.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.2893, allocations: 2.896 MB / 452 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.2897, allocations: 0.7831 MB / 452.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.116e-05/0.2898, allocations: 21.94 kB / 452.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.2899, allocations: 99.41 kB / 452.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2899, allocations: 0 / 452.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.3244, allocations: 6.211 MB / 459.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.28, allocations: 13.08 kB / 459.1 MB, free: 11.09 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.9984e-05 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.83107940806076] Failed to read output from testmodel.py, exit status != 0: ['time', 'L1.iinternal', 'L2.iinternal', 'L3.iinternal'] 11.362296767998487 11.384183366 11.112145961 Calling exit ...