Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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.001325/0.001325, allocations: 120 kB / 18.5 MB, free: 4.52 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.001321/0.001321, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.421/1.421, allocations: 230.5 MB / 254.8 MB, free: 15.24 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.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",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.001941/0.001941, allocations: 71.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1039, allocations: 53.32 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007702/0.1116, allocations: 6.049 MB / 433.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.1148, allocations: 1.729 MB / 434.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.1153, allocations: 43.69 kB / 434.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.1158, allocations: 249.6 kB / 435.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.1162, allocations: 221.7 kB / 435.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000944/0.1172, allocations: 0.5188 MB / 435.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.1186, allocations: 1.395 MB / 437.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007302/0.1193, allocations: 447.8 kB / 437.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/0.1199, allocations: 494.2 kB / 438.1 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005496/0.1205, allocations: 0.4973 MB / 438.6 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.1206, allocations: 120 kB / 438.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.1209, allocations: 136 kB / 438.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.1211, allocations: 275 kB / 439.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.1217, allocations: 0.61 MB / 439.8 MB, free: 7.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.1235, allocations: 1.634 MB / 441.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1235, allocations: 0 / 441.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.159e-06/0.1235, allocations: 4 kB / 441.4 MB, free: 6.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.882e-05/0.1236, allocations: 3.938 kB / 441.4 MB, free: 6.293 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.00237/0.1259, allocations: 1.504 MB / 442.9 MB, free: 4.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.126, allocations: 8.031 kB / 442.9 MB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/0.1262, allocations: 181.7 kB / 443.1 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003879/0.1266, allocations: 167 kB / 443.3 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.1278, allocations: 0.7672 MB / 444 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.31e-05/0.1279, allocations: 94.34 kB / 444.1 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.128, allocations: 123.9 kB / 444.2 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.13, allocations: 1.268 MB / 445.5 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.1301, allocations: 7.938 kB / 445.5 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/0.1301, allocations: 52 kB / 445.6 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.1302, allocations: 32 kB / 445.6 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.1319, allocations: 0.689 MB / 446.3 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2091/0.341, allocations: 6.786 MB / 453.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.3417, allocations: 245.4 kB / 453.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.342, allocations: 162.5 kB / 453.5 MB, free: 18.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.3422, allocations: 84.89 kB / 453.6 MB, free: 18.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.3422, allocations: 43.44 kB / 453.6 MB, free: 18.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.903e-06/0.3422, allocations: 0 / 453.6 MB, free: 18.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002354/0.3445, allocations: 1.419 MB / 455 MB, free: 17.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3446, allocations: 81.52 kB / 455.1 MB, free: 17.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000843/0.3454, allocations: 0.6668 MB / 455.8 MB, free: 17.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.3454, allocations: 34.3 kB / 455.8 MB, free: 17.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.3458, allocations: 0.7018 MB / 456.5 MB, free: 16.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/0.3459, allocations: 123.8 kB / 456.6 MB, free: 16.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.3461, allocations: 141 kB / 456.8 MB, free: 16.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3462, allocations: 389.5 kB / 457.1 MB, free: 16.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.3465, allocations: 147.9 kB / 457.3 MB, free: 16.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.347, allocations: 0.552 MB / 457.8 MB, free: 15.53 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009083/0.3479, allocations: 0.9553 MB / 458.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.3479, allocations: 3.438 kB / 458.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001208/0.3491, allocations: 0.8 MB / 459.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.3491, allocations: 11.72 kB / 459.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.3492, allocations: 14.89 kB / 459.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/0.3494, allocations: 78.78 kB / 459.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/0.35, allocations: 184.4 kB / 459.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.3518, allocations: 3.328 MB / 463.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.3522, allocations: 35.86 kB / 463.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.3522, allocations: 45.08 kB / 463.3 MB, free: 10.97 MB / 366.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003742/0.3526, allocations: 265.5 kB / 463.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3527, allocations: 81.94 kB / 463.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.3528, allocations: 69.53 kB / 463.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3528, allocations: 4.109 kB / 463.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.3528, allocations: 2.5 kB / 463.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3528, allocations: 6.891 kB / 463.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.3546, allocations: 1.252 MB / 465 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3546, allocations: 1.031 kB / 465 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.355, allocations: 68.84 kB / 465 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/0.3551, allocations: 57.59 kB / 465.1 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.3552, allocations: 8.203 kB / 465.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.3566, allocations: 3.048 MB / 468.1 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3566, allocations: 5.688 kB / 468.1 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007976/0.3574, allocations: 0.6364 MB / 468.8 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.3575, allocations: 148.4 kB / 468.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.3576, allocations: 7.281 kB / 468.9 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.3578, allocations: 20.91 kB / 468.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.3579, allocations: 23.05 kB / 469 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.3579, allocations: 7.953 kB / 469 MB, free: 6.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005087/0.3584, allocations: 442.8 kB / 469.4 MB, free: 6.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3584, allocations: 1.062 kB / 469.4 MB, free: 6.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000938/0.3594, allocations: 155.1 kB / 469.6 MB, free: 6.062 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000945/0.3603, allocations: 1.21 MB / 470.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009742/0.3613, allocations: 0.6213 MB / 471.4 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3613, allocations: 5.094 kB / 471.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.3617, allocations: 358.2 kB / 471.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.3622, allocations: 81.88 kB / 471.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007311/0.3695, allocations: 6.468 MB / 478.3 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007739/0.3703, allocations: 1.031 MB / 479.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002865/0.3706, allocations: 87.78 kB / 479.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.371, allocations: 425.1 kB / 479.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.371, allocations: 0 / 479.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0703/0.4413, allocations: 12.85 MB / 492.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.03, allocations: 5.125 kB / 492.7 MB, free: 10.16 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.522871086839586] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor2a.v', 'capacitor2b.v', 'directCapacitor1.capacitor.v', 'directInductor3.inductor.i', 'inductor4a.i', 'inductor4b.i'] 11.135795108042657 11.150255556 11.023682601 Calling exit ...