Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.001945/0.001945, allocations: 117.6 kB / 18.5 MB, free: 4.602 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.002277/0.002277, allocations: 205 kB / 21.45 MB, free: 1.652 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.545/1.545, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.CascodeCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CascodeCircuit",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.001964/0.001964, allocations: 71.84 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1245, allocations: 53.33 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.2572/0.3817, allocations: 5.307 MB / 432.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009545/0.3913, allocations: 9.145 MB / 441.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007749/0.392, allocations: 61.5 kB / 441.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.3932, allocations: 394.7 kB / 441.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003066/0.3962, allocations: 0.8456 MB / 442.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.3987, allocations: 0.5983 MB / 443.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003212/0.4019, allocations: 1.721 MB / 445.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.4022, allocations: 101.6 kB / 445.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007279/0.4029, allocations: 327.5 kB / 445.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.4034, allocations: 316.4 kB / 445.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.889e-05/0.4035, allocations: 29.81 kB / 445.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.4058, allocations: 0.6694 MB / 446.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.4059, allocations: 99.73 kB / 446.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005261/0.4065, allocations: 405.9 kB / 447 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.4089, allocations: 1.22 MB / 448.2 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4089, allocations: 1.156 kB / 448.2 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4089, allocations: 0 / 448.2 MB, free: 416 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.409, allocations: 0 / 448.2 MB, free: 416 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002599/0.4116, allocations: 1.32 MB / 449.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.4116, allocations: 11.14 kB / 449.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.596e-05/0.4117, allocations: 61.03 kB / 449.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005327/0.4122, allocations: 133.2 kB / 449.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.414, allocations: 0.8597 MB / 450.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.414, allocations: 18.64 kB / 450.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.976e-05/0.4141, allocations: 28.52 kB / 450.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006464/0.4148, allocations: 314.2 kB / 450.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4148, allocations: 0 / 450.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.4148, allocations: 10.77 kB / 451 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.4148, allocations: 6.828 kB / 451 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.4153, allocations: 236.1 kB / 451.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.4176, allocations: 1.186 MB / 452.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.4181, allocations: 176.1 kB / 452.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/0.4184, allocations: 196.6 kB / 452.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/0.4311, allocations: 8.881 MB / 461.6 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.4311, allocations: 35.94 kB / 461.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.645e-06/0.4311, allocations: 0 / 461.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001873/0.433, allocations: 0.6589 MB / 462.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.4331, allocations: 84.05 kB / 462.4 MB, free: 4.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.4345, allocations: 0.7923 MB / 463.2 MB, free: 4.656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.4346, allocations: 35.08 kB / 463.2 MB, free: 4.617 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/0.435, allocations: 443.1 kB / 463.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.4351, allocations: 80.38 kB / 463.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.4353, allocations: 63.45 kB / 463.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4354, allocations: 319.3 kB / 464.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.4356, allocations: 69.83 kB / 464.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.4359, allocations: 152 kB / 464.3 MB, free: 3.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.4363, allocations: 228.4 kB / 464.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4363, allocations: 1.219 kB / 464.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007516/0.4371, allocations: 404.6 kB / 464.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4371, allocations: 10.41 kB / 465 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-05/0.4371, allocations: 22.05 kB / 465 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004463/0.4376, allocations: 133.3 kB / 465.1 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.4378, allocations: 37.59 kB / 465.1 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008291/0.4386, allocations: 0.7079 MB / 465.9 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.439, allocations: 31.98 kB / 465.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.4391, allocations: 12.88 kB / 465.9 MB, free: 2.582 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (16): * Single equations (assignments): 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000297/0.4394, allocations: 193.2 kB / 466.1 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.4395, allocations: 109.2 kB / 466.2 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008622/0.4404, allocations: 406.6 kB / 466.6 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4404, allocations: 1.438 kB / 466.6 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4404, allocations: 5.125 kB / 466.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.4404, allocations: 0 / 466.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.4412, allocations: 0.5077 MB / 467.1 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/0.4412, allocations: 15.36 kB / 467.1 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.4413, allocations: 17.23 kB / 467.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002966/0.4416, allocations: 142.1 kB / 467.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.4416, allocations: 11.14 kB / 467.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007384/0.4424, allocations: 0.7016 MB / 468 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4424, allocations: 1 kB / 468 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.4431, allocations: 453.6 kB / 468.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.4434, allocations: 183.7 kB / 468.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/0.4434, allocations: 7.422 kB / 468.6 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.4437, allocations: 1.719 kB / 468.6 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.4437, allocations: 17.14 kB / 468.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.4437, allocations: 9.125 kB / 468.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007302/0.4445, allocations: 0.5439 MB / 469.2 MB, free: 240 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4445, allocations: 0 / 469.2 MB, free: 240 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008241/0.4453, allocations: 194.3 kB / 469.4 MB, free: 208 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001595/0.4469, allocations: 1.18 MB / 470.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006663/0.4476, allocations: 284.3 kB / 470.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4476, allocations: 4.062 kB / 470.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.4479, allocations: 164.3 kB / 471 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008753/0.4488, allocations: 162.6 kB / 471.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008125/0.4569, allocations: 5.327 MB / 476.5 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.4576, allocations: 0.9388 MB / 477.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003588/0.4579, allocations: 109.4 kB / 477.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.4583, allocations: 308.8 kB / 477.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4583, allocations: 0 / 477.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05922/0.5175, allocations: 18.47 MB / 496.3 MB, free: 9.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.1, allocations: 7.969 kB / 496.3 MB, free: 9.594 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CascodeCircuit.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.772047290112823] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.D.v', 'RC.v', 'J1.D.v'] 15.205324482172728 15.222650029 14.810010231 Calling exit ...