Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 118.3 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 254.8 MB, free: 15.25 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1023, allocations: 53.32 MB / 427 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008463/0.1108, allocations: 7.54 MB / 434.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01324/0.124, allocations: 10.78 MB / 445.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.1253, allocations: 118.6 kB / 445.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.1272, allocations: 0.7179 MB / 446.2 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.1307, allocations: 1.192 MB / 447.3 MB, free: 396 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2414/0.3721, allocations: 0.6711 MB / 448 MB, free: 9.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004154/0.3762, allocations: 2.573 MB / 450.6 MB, free: 9.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.3766, allocations: 177.3 kB / 450.8 MB, free: 9.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007634/0.3773, allocations: 0.5093 MB / 451.3 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.3778, allocations: 0.5398 MB / 451.8 MB, free: 9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.934e-05/0.3779, allocations: 56.12 kB / 451.9 MB, free: 9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.3797, allocations: 0.768 MB / 452.6 MB, free: 9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.3799, allocations: 187.7 kB / 452.8 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005302/0.3804, allocations: 0.6781 MB / 453.5 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.3828, allocations: 1.958 MB / 455.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3828, allocations: 1.062 kB / 455.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3828, allocations: 0 / 455.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.3829, allocations: 0 / 455.5 MB, free: 8.277 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003165/0.386, allocations: 2.046 MB / 457.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3861, allocations: 14.09 kB / 457.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.189e-05/0.3861, allocations: 13.31 kB / 457.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.3862, allocations: 87.78 kB / 457.6 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.3865, allocations: 209.8 kB / 457.8 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.3886, allocations: 1.354 MB / 459.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3887, allocations: 37.56 kB / 459.2 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.181e-05/0.3887, allocations: 47.45 kB / 459.3 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.3898, allocations: 0.5091 MB / 459.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3898, allocations: 1.844 kB / 459.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/0.3899, allocations: 16.12 kB / 459.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.3899, allocations: 17.02 kB / 459.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009876/0.3909, allocations: 478.2 kB / 460.3 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003248/0.3941, allocations: 2.093 MB / 462.4 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009409/0.3951, allocations: 0.6533 MB / 463 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/0.3958, allocations: 455.9 kB / 463.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005927/0.4017, allocations: 4.918 MB / 468.4 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006171/0.4023, allocations: 317.9 kB / 468.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 3.036e-06/0.4023, allocations: 1.375 kB / 468.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005859/0.4082, allocations: 2.448 MB / 471.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.4082, allocations: 59.88 kB / 471.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.4101, allocations: 1.295 MB / 472.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.4101, allocations: 40.2 kB / 472.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006158/0.4107, allocations: 0.6971 MB / 473.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.4109, allocations: 232.4 kB / 473.5 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.4111, allocations: 121 kB / 473.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4113, allocations: 332.9 kB / 473.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.4118, allocations: 218.6 kB / 474.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.4123, allocations: 366.2 kB / 474.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.4134, allocations: 0.6031 MB / 475.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4134, allocations: 1.125 kB / 475.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001825/0.4152, allocations: 0.97 MB / 476 MB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.4152, allocations: 7.188 kB / 476.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/0.4153, allocations: 70.5 kB / 476.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/0.4159, allocations: 181.9 kB / 476.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.4163, allocations: 107 kB / 476.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003705/0.42, allocations: 2.769 MB / 479.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00071/0.4208, allocations: 26.73 kB / 479.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.4208, allocations: 30.78 kB / 479.2 MB, free: 10.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005309/0.4214, allocations: 268.8 kB / 479.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.4216, allocations: 192 kB / 479.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.4236, allocations: 0.9682 MB / 480.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.4236, allocations: 5.531 kB / 480.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4236, allocations: 2.844 kB / 480.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4236, allocations: 5.891 kB / 480.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.4249, allocations: 0.897 MB / 481.6 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.822e-05/0.425, allocations: 64.69 kB / 481.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.4254, allocations: 66.48 kB / 481.7 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004409/0.4258, allocations: 173.5 kB / 481.9 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.4258, allocations: 18.55 kB / 481.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003438/0.4293, allocations: 2.764 MB / 484.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4293, allocations: 0 / 484.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.4315, allocations: 1.19 MB / 485.8 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005688/0.4321, allocations: 260.1 kB / 486.1 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.4323, allocations: 16 kB / 486.1 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.4326, allocations: 20.27 kB / 486.1 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.4328, allocations: 54.39 kB / 486.2 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/0.4328, allocations: 24.27 kB / 486.2 MB, free: 6.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001263/0.4341, allocations: 0.8504 MB / 487 MB, free: 5.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4341, allocations: 1.375 kB / 487 MB, free: 5.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00123/0.4353, allocations: 394.3 kB / 487.4 MB, free: 5.734 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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 {(4,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003362/0.4387, allocations: 2.083 MB / 489.5 MB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.4405, allocations: 0.8714 MB / 490.4 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4405, allocations: 0 / 490.4 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.4416, allocations: 0.622 MB / 491 MB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.4429, allocations: 203.5 kB / 491.2 MB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.4572, allocations: 9.451 MB / 0.4889 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009021/0.4581, allocations: 1.178 MB / 0.4901 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005118/0.4586, allocations: 181.8 kB / 0.4902 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/0.4593, allocations: 0.5657 MB / 0.4908 GB, free: 8.738 MB / 398.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4593, allocations: 0 / 0.4908 GB, free: 8.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06525/0.5245, allocations: 29.93 MB / 0.52 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.52, allocations: 17.77 kB / 0.52 GB, free: 11.07 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Oscillator_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Oscillator.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.944852278975304] Failed to read output from testmodel.py, exit status != 0: ['time', 'T1.vbe', 'T2.vbe'] 13.677657608990557 13.691677646 13.305937589000001 Calling exit ...