Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001844/0.001844, allocations: 121.4 kB / 19.17 MB, free: 3.898 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.002064/0.002064, allocations: 203.9 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 207.6 MB / 232.5 MB, free: 3.922 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 60.33 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.08741, allocations: 49.13 MB / 392.1 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007767/0.09518, allocations: 7.378 MB / 399.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.1076, allocations: 10.42 MB / 409.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.1086, allocations: 118.6 kB / 410 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.1104, allocations: 0.6948 MB / 410.7 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003674/0.1141, allocations: 1.184 MB / 411.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.1157, allocations: 0.6661 MB / 412.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003581/0.1193, allocations: 2.498 MB / 415.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.1197, allocations: 179.9 kB / 415.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006234/0.1203, allocations: 497.7 kB / 415.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005564/0.1209, allocations: 0.5279 MB / 416.3 MB, free: 444 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.703e-05/0.1209, allocations: 56 kB / 416.3 MB, free: 388 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.1224, allocations: 0.6948 MB / 417 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.1225, allocations: 186.8 kB / 417.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006035/0.1231, allocations: 0.6754 MB / 417.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.1254, allocations: 1.96 MB / 419.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1255, allocations: 0 / 419.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1255, allocations: 0 / 419.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.1255, allocations: 0 / 419.8 MB, free: 12.85 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002877/0.1283, allocations: 2.039 MB / 421.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1284, allocations: 12.03 kB / 421.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.763e-05/0.1284, allocations: 17.12 kB / 421.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.637e-05/0.1285, allocations: 86.7 kB / 422 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.1287, allocations: 207.7 kB / 422.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.1306, allocations: 1.35 MB / 423.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.1306, allocations: 33 kB / 423.6 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.923e-05/0.1307, allocations: 51.94 kB / 423.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000939/0.1316, allocations: 0.5119 MB / 424.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1316, allocations: 0 / 424.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.1317, allocations: 16 kB / 424.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.1317, allocations: 19.98 kB / 424.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/0.1326, allocations: 472 kB / 424.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/0.1355, allocations: 2.097 MB / 426.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/0.1365, allocations: 0.6541 MB / 427.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/0.1372, allocations: 465.8 kB / 427.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007985/0.1452, allocations: 6.505 MB / 434.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005787/0.1458, allocations: 290.5 kB / 434.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 3.256e-06/0.1458, allocations: 4 kB / 434.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.003773/0.1496, allocations: 1.986 MB / 436.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.1496, allocations: 55.84 kB / 436.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.1511, allocations: 1.3 MB / 438 MB, free: 9.395 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.1512, allocations: 33.7 kB / 438 MB, free: 9.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006042/0.1518, allocations: 0.7196 MB / 438.7 MB, free: 8.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.152, allocations: 214.1 kB / 438.9 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.1522, allocations: 130.3 kB / 439.1 MB, free: 8.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1523, allocations: 330 kB / 439.4 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.1527, allocations: 189.6 kB / 439.6 MB, free: 7.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.1533, allocations: 363.8 kB / 439.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/0.1556, allocations: 1.135 MB / 441 MB, free: 6.141 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1556, allocations: 8 kB / 441.1 MB, free: 6.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001619/0.1573, allocations: 0.9194 MB / 442 MB, free: 5.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1573, allocations: 11.94 kB / 442 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.979e-05/0.1574, allocations: 56 kB / 442 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004203/0.1578, allocations: 164.9 kB / 442.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.1582, allocations: 111.8 kB / 442.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/0.1612, allocations: 2.517 MB / 444.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.1617, allocations: 28.03 kB / 444.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.1618, allocations: 32 kB / 444.9 MB, free: 2.145 MB / 366.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real T1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 54 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004762/0.1622, allocations: 285.5 kB / 445.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.1624, allocations: 190.8 kB / 445.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.1642, allocations: 0.8827 MB / 446.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1642, allocations: 4 kB / 446.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1643, allocations: 4 kB / 446.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1643, allocations: 3.984 kB / 446.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.1653, allocations: 0.8708 MB / 447.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.172e-05/0.1654, allocations: 52 kB / 447.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.1657, allocations: 75.86 kB / 447.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/0.1661, allocations: 141 kB / 447.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.1661, allocations: 23.98 kB / 447.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/0.1689, allocations: 2.494 MB / 449.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1689, allocations: 0 / 449.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.171, allocations: 1.062 MB / 451 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.1714, allocations: 259.9 kB / 451.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.1715, allocations: 8 kB / 451.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.1718, allocations: 23.98 kB / 451.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.172, allocations: 44.38 kB / 451.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/0.172, allocations: 31.92 kB / 451.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001201/0.1732, allocations: 0.8577 MB / 452.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1732, allocations: 0 / 452.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009533/0.1742, allocations: 383.2 kB / 452.6 MB, free: 10.23 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 (30): * Single equations (assignments): 24 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002899/0.1771, allocations: 1.977 MB / 454.5 MB, free: 8.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.1787, allocations: 0.8054 MB / 455.3 MB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1787, allocations: 0 / 455.3 MB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.1797, allocations: 0.5511 MB / 455.9 MB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/0.1804, allocations: 194.2 kB / 456.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1823/0.3627, allocations: 9.272 MB / 465.3 MB, free: 64.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.3634, allocations: 1.168 MB / 466.5 MB, free: 63.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004657/0.3639, allocations: 187.2 kB / 466.7 MB, free: 63.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.3643, allocations: 0.57 MB / 467.3 MB, free: 63.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3643, allocations: 3.406 kB / 467.3 MB, free: 63.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05237/0.4167, allocations: 29.1 MB / 496.4 MB, free: 44.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.65, allocations: 19.88 kB / 496.4 MB, free: 44.32 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.970126628002618] Failed to read output from testmodel.py, exit status != 0: ['time', 'T1.vbe', 'T2.vbe'] 13.800247803039383 13.810113296 13.682355566 Calling exit ...