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.001196/0.001196, allocations: 105 kB / 19.74 MB, free: 2.566 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.001309/0.001309, allocations: 217 kB / 22.92 MB, free: 5.539 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.279/1.279, allocations: 230.5 MB / 256.4 MB, free: 8.438 MB / 206.1 MB " [Timeout remaining time 179] 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.001762/0.001762, allocations: 75.88 kB / 376.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2058, allocations: 53.32 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005604/0.2115, allocations: 5.328 MB / 434.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009557/0.221, allocations: 9.166 MB / 443.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003412/0.2214, allocations: 35.69 kB / 443.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007773/0.2221, allocations: 393.5 kB / 444.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.2237, allocations: 0.8458 MB / 445.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.2248, allocations: 0.5987 MB / 445.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002239/0.227, allocations: 1.724 MB / 447.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.2272, allocations: 107 kB / 447.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/0.2276, allocations: 314.5 kB / 447.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.228, allocations: 329.9 kB / 448.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.228, allocations: 32 kB / 448.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.2292, allocations: 0.6555 MB / 448.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.688e-05/0.2293, allocations: 103.3 kB / 449 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.2296, allocations: 409.5 kB / 449.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.231, allocations: 1.221 MB / 450.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.231, allocations: 0 / 450.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.231, allocations: 0 / 450.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.231, allocations: 4 kB / 450.6 MB, free: 2.109 MB / 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.001686/0.2327, allocations: 1.306 MB / 451.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2327, allocations: 8.031 kB / 451.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.2328, allocations: 66.72 kB / 452 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.233, allocations: 132.2 kB / 452.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.2341, allocations: 0.8606 MB / 453 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2342, allocations: 20.56 kB / 453 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.2342, allocations: 27.95 kB / 453 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.2347, allocations: 311.6 kB / 453.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2347, allocations: 0 / 453.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.2347, allocations: 12 kB / 453.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.2348, allocations: 8 kB / 453.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.2352, allocations: 230.1 kB / 453.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.2368, allocations: 1.187 MB / 454.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.2371, allocations: 174.6 kB / 454.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.2374, allocations: 197.2 kB / 455.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008573/0.246, allocations: 8.882 MB / 464 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.246, allocations: 34.56 kB / 464.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/0.246, allocations: 0 / 464.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001503/0.2475, allocations: 0.6588 MB / 464.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.2476, allocations: 81.11 kB / 464.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008734/0.2485, allocations: 0.7948 MB / 465.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.2485, allocations: 37.64 kB / 465.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.2488, allocations: 441 kB / 466.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.2489, allocations: 83.27 kB / 466.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.249, allocations: 65.88 kB / 466.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2491, allocations: 313.9 kB / 466.5 MB, free: 460 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.2493, allocations: 64.2 kB / 466.6 MB, free: 396 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.2495, allocations: 153.9 kB / 466.7 MB, free: 208 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.2498, allocations: 223.9 kB / 466.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2498, allocations: 0 / 466.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005936/0.2504, allocations: 413.3 kB / 467.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2504, allocations: 8 kB / 467.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.2504, allocations: 15.94 kB / 467.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003355/0.2508, allocations: 141.1 kB / 467.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.2509, allocations: 31.98 kB / 467.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006454/0.2516, allocations: 0.7084 MB / 468.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.2518, allocations: 27.78 kB / 468.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.2518, allocations: 16 kB / 468.3 MB, free: 14.57 MB / 382.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.0002225/0.2521, allocations: 197.8 kB / 468.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.2522, allocations: 107.3 kB / 468.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007301/0.2529, allocations: 406.2 kB / 469 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.2529, allocations: 8 kB / 469 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2529, allocations: 3.938 kB / 469 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2529, allocations: 0 / 469 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.2535, allocations: 0.5113 MB / 469.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/0.2535, allocations: 12 kB / 469.5 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.2536, allocations: 19.92 kB / 469.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/0.2539, allocations: 147.4 kB / 469.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.2539, allocations: 4 kB / 469.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005901/0.2545, allocations: 0.6929 MB / 470.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2545, allocations: 0 / 470.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.2551, allocations: 456.4 kB / 470.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.2553, allocations: 180.4 kB / 471 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.2554, allocations: 4 kB / 471 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2556, allocations: 4 kB / 471 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.2556, allocations: 11.98 kB / 471 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.2556, allocations: 15.98 kB / 471 MB, free: 11.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006193/0.2563, allocations: 0.5422 MB / 471.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2563, allocations: 4 kB / 471.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005321/0.2568, allocations: 199.7 kB / 471.8 MB, free: 10.95 MB / 382.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.001211/0.258, allocations: 1.18 MB / 473 MB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005225/0.2585, allocations: 275.7 kB / 473.2 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2585, allocations: 3.938 kB / 473.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.2588, allocations: 170.1 kB / 473.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.2595, allocations: 168.7 kB / 473.6 MB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006305/0.2658, allocations: 5.316 MB / 478.9 MB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.2663, allocations: 0.9374 MB / 479.8 MB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002667/0.2666, allocations: 110.7 kB / 479.9 MB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.2669, allocations: 323.3 kB / 480.2 MB, free: 2.207 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2669, allocations: 0 / 480.2 MB, free: 2.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/0.3116, allocations: 18.51 MB / 498.7 MB, free: 15.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.98, allocations: 7.266 kB / 498.7 MB, free: 15.91 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CascodeCircuit_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-07 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: 14.07249337599933]