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.001763/0.001763, allocations: 123.6 kB / 18.46 MB, free: 4.586 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.002127/0.002127, allocations: 205.7 kB / 21.4 MB, free: 1.645 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.44/1.44, allocations: 227.7 MB / 251.9 MB, free: 15.87 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.001917/0.001917, allocations: 71.88 kB / 365.2 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1024, allocations: 50.54 MB / 415.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006382/0.1089, allocations: 5.302 MB / 421.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.1203, allocations: 9.107 MB / 430.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008009/0.1211, allocations: 39.69 kB / 430.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.1224, allocations: 393.5 kB / 430.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003326/0.1258, allocations: 0.8341 MB / 431.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.128, allocations: 0.6024 MB / 432 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003128/0.1311, allocations: 1.701 MB / 433.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.1316, allocations: 163.1 kB / 433.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.1321, allocations: 314.5 kB / 434.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000414/0.1325, allocations: 322 kB / 434.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.519e-05/0.1326, allocations: 31.94 kB / 434.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.1345, allocations: 0.6633 MB / 435.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1347, allocations: 99.38 kB / 435.3 MB, free: 10 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.1351, allocations: 405.5 kB / 435.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.137, allocations: 1.221 MB / 436.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.137, allocations: 0 / 436.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.137, allocations: 4 kB / 436.9 MB, free: 8.375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.137, allocations: 0 / 436.9 MB, free: 8.375 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002021/0.1391, allocations: 1.313 MB / 438.2 MB, free: 7.008 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1391, allocations: 12.03 kB / 438.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8e-05/0.1392, allocations: 66.72 kB / 438.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.1395, allocations: 132.2 kB / 438.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.1408, allocations: 0.8607 MB / 439.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.1408, allocations: 16.56 kB / 439.3 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.1409, allocations: 27.95 kB / 439.3 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.1415, allocations: 311.6 kB / 439.6 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1415, allocations: 0 / 439.6 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.1415, allocations: 12 kB / 439.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1415, allocations: 4 kB / 439.7 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.142, allocations: 238.1 kB / 439.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.1439, allocations: 1.194 MB / 441.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.1443, allocations: 194.7 kB / 441.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.1446, allocations: 217.3 kB / 441.5 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.204/0.3487, allocations: 8.87 MB / 450.4 MB, free: 25.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.3487, allocations: 33.91 kB / 450.4 MB, free: 25.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/0.3488, allocations: 2.219 kB / 450.4 MB, free: 25.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001546/0.3503, allocations: 0.6643 MB / 451.1 MB, free: 25.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.3504, allocations: 81.89 kB / 451.1 MB, free: 25.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008369/0.3512, allocations: 0.8009 MB / 451.9 MB, free: 25.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3512, allocations: 30.55 kB / 452 MB, free: 25.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.3516, allocations: 445.7 kB / 452.4 MB, free: 25.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.3516, allocations: 87.53 kB / 452.5 MB, free: 25.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/0.3517, allocations: 54.36 kB / 452.5 MB, free: 25.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.3518, allocations: 318.8 kB / 452.9 MB, free: 24.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3519, allocations: 67.25 kB / 452.9 MB, free: 24.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.3521, allocations: 143.2 kB / 453.1 MB, free: 24.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.3525, allocations: 229.7 kB / 453.3 MB, free: 24.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3525, allocations: 0 / 453.3 MB, free: 24.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006094/0.3531, allocations: 423 kB / 453.7 MB, free: 24.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3531, allocations: 6.594 kB / 453.7 MB, free: 24.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/0.3531, allocations: 15.42 kB / 453.7 MB, free: 24.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.3535, allocations: 143.7 kB / 453.9 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.3537, allocations: 35.17 kB / 453.9 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000536/0.3543, allocations: 0.7107 MB / 454.6 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.3546, allocations: 31.41 kB / 454.6 MB, free: 23.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.3546, allocations: 15.47 kB / 454.7 MB, free: 23.99 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.0002207/0.3548, allocations: 194.4 kB / 454.8 MB, free: 23.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.3549, allocations: 110.9 kB / 455 MB, free: 23.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008123/0.3558, allocations: 402.1 kB / 455.3 MB, free: 23.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3558, allocations: 3.953 kB / 455.3 MB, free: 23.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.3558, allocations: 4.844 kB / 455.4 MB, free: 23.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3558, allocations: 5.297 kB / 455.4 MB, free: 23.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.3564, allocations: 0.5072 MB / 455.9 MB, free: 23.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/0.3565, allocations: 16.38 kB / 455.9 MB, free: 23.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.3566, allocations: 20.52 kB / 455.9 MB, free: 23.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.3569, allocations: 133.5 kB / 456 MB, free: 23.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.357, allocations: 9.047 kB / 456 MB, free: 23.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000494/0.3575, allocations: 0.7116 MB / 456.8 MB, free: 23.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3575, allocations: 0.75 kB / 456.8 MB, free: 23.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.3581, allocations: 462.7 kB / 457.2 MB, free: 22.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.3582, allocations: 172.8 kB / 457.4 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/0.3583, allocations: 6.25 kB / 457.4 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3585, allocations: 10.56 kB / 457.4 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.3586, allocations: 12.78 kB / 457.4 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.3586, allocations: 8.359 kB / 457.4 MB, free: 22.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008277/0.3595, allocations: 0.545 MB / 458 MB, free: 22.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3595, allocations: 0 / 458 MB, free: 22.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006346/0.3601, allocations: 196.8 kB / 458.1 MB, free: 22.57 MB / 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.001209/0.3613, allocations: 1.2 MB / 459.3 MB, free: 21.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006311/0.362, allocations: 288.3 kB / 459.6 MB, free: 21.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.362, allocations: 1.906 kB / 459.6 MB, free: 21.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.3623, allocations: 180.5 kB / 459.8 MB, free: 21.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008046/0.3631, allocations: 162.5 kB / 460 MB, free: 21.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007083/0.3702, allocations: 5.343 MB / 465.3 MB, free: 19.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.3706, allocations: 0.9398 MB / 466.2 MB, free: 19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003847/0.371, allocations: 106.8 kB / 466.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.3713, allocations: 316.1 kB / 466.7 MB, free: 18.92 MB / 366.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3713, allocations: 0.9375 kB / 466.7 MB, free: 18.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05079/0.4221, allocations: 18.4 MB / 485.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.44, allocations: 0 / 485.1 MB, free: 10.21 MB / 366.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: 16.930352317052893] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.D.v', 'RC.v', 'J1.D.v'] 14.540362912928686 14.557111175 14.416596786 Calling exit ...