Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.001971/0.001971, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002521/0.002521, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",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.002089/0.002089, allocations: 64.55 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2418, allocations: 53.38 MB / 432 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004221/0.246, allocations: 2.643 MB / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2473, allocations: 0.705 MB / 435.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.2475, allocations: 4 kB / 435.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.2476, allocations: 47.52 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.2479, allocations: 87.25 kB / 435.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.2481, allocations: 91.81 kB / 435.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.2485, allocations: 310.7 kB / 435.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.2487, allocations: 69.12 kB / 435.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.2489, allocations: 107.6 kB / 436 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.2491, allocations: 127.4 kB / 436.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.2491, allocations: 24 kB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-05/0.2491, allocations: 24 kB / 436.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.2492, allocations: 63.77 kB / 436.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.2494, allocations: 139.3 kB / 436.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.2497, allocations: 287.6 kB / 436.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2497, allocations: 0 / 436.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2497, allocations: 0 / 436.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.2497, allocations: 0 / 436.7 MB, free: 2.289 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009261/0.2507, allocations: 497.6 kB / 437.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2507, allocations: 12.03 kB / 437.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.938e-05/0.2508, allocations: 58.72 kB / 437.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.2508, allocations: 32.75 kB / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.2512, allocations: 198.8 kB / 437.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.2512, allocations: 24.81 kB / 437.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/0.2513, allocations: 24.38 kB / 437.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.2517, allocations: 220.2 kB / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2517, allocations: 0 / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.2518, allocations: 12 kB / 437.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2518, allocations: 4 kB / 437.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.2522, allocations: 193.9 kB / 437.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.2537, allocations: 0.8619 MB / 438.8 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.2543, allocations: 202.7 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.2546, allocations: 112.8 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.2547, allocations: 7.938 kB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.2547, allocations: 38.5 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.2547, allocations: 0 / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001726/0.2564, allocations: 491.1 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.2565, allocations: 59.34 kB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.2567, allocations: 227.1 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.2567, allocations: 33.7 kB / 439.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2568, allocations: 172.2 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.2569, allocations: 55.55 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.257, allocations: 37.7 kB / 440.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2571, allocations: 326.8 kB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.2573, allocations: 80.81 kB / 440.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.2575, allocations: 110 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.2579, allocations: 177.9 kB / 440.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2579, allocations: 4 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008451/0.2587, allocations: 348.3 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2587, allocations: 8 kB / 441.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2587, allocations: 0 / 441.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.2591, allocations: 80.83 kB / 441.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.2593, allocations: 35.98 kB / 441.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.2622, allocations: 1.914 MB / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.2624, allocations: 27.77 kB / 443.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.2624, allocations: 12 kB / 443.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001722/0.2626, allocations: 140.2 kB / 443.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001239/0.2627, allocations: 97.92 kB / 443.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002103/0.2629, allocations: 150 kB / 443.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.2629, allocations: 3.828 kB / 443.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003736/0.2633, allocations: 216.9 kB / 443.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2633, allocations: 8.188 kB / 443.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2633, allocations: 8 kB / 443.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.2634, allocations: 28.83 kB / 443.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.2636, allocations: 47.92 kB / 444 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.2646, allocations: 1.311 MB / 445.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.2648, allocations: 11.92 kB / 445.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.2648, allocations: 12 kB / 445.3 MB, free: 9.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.2649, allocations: 188.2 kB / 445.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.265, allocations: 19.92 kB / 445.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.265, allocations: 33.53 kB / 445.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.265, allocations: 7.984 kB / 445.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.265, allocations: 0 / 445.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.265, allocations: 0 / 445.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.2662, allocations: 0.5882 MB / 446.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2662, allocations: 3.938 kB / 446.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2663, allocations: 23.98 kB / 446.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/0.2665, allocations: 80.75 kB / 446.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2665, allocations: 3.984 kB / 446.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.269, allocations: 1.825 MB / 448.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.269, allocations: 0 / 448.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008852/0.2699, allocations: 435.1 kB / 448.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.27, allocations: 23.88 kB / 448.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.27, allocations: 0 / 448.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.2702, allocations: 24.05 kB / 448.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.2702, allocations: 11.97 kB / 448.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.2702, allocations: 4 kB / 448.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.2704, allocations: 163.2 kB / 448.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2704, allocations: 0 / 448.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000579/0.271, allocations: 119.8 kB / 448.8 MB, free: 5.371 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 10 * 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 {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/0.2722, allocations: 0.9657 MB / 449.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.2734, allocations: 0.5286 MB / 450.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2734, allocations: 0 / 450.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.2737, allocations: 206.4 kB / 450.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.2741, allocations: 37.91 kB / 450.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.2784, allocations: 2.639 MB / 453.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.2789, allocations: 0.7401 MB / 453.9 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.279, allocations: 21.95 kB / 454 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.2791, allocations: 71.42 kB / 454 MB, free: 15.95 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2791, allocations: 4 kB / 454 MB, free: 15.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.3153, allocations: 5.622 MB / 459.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.71, allocations: 2.75 kB / 459.7 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.274178521707654] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 12.807588648051023 12.823296377 12.570393613 Calling exit ...