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.InvertingSchmittTrigger.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.001697/0.001697, allocations: 110.5 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.002273/0.002273, allocations: 213.2 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.409/1.409, 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.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",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.00197/0.00197, allocations: 64.77 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2601, allocations: 53.37 MB / 432 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004148/0.2643, allocations: 2.803 MB / 434.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2656, allocations: 0.7206 MB / 435.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.2657, allocations: 4 kB / 435.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.2659, allocations: 43.56 kB / 435.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.2661, allocations: 95.25 kB / 435.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.2664, allocations: 99.81 kB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.2668, allocations: 354.5 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.2669, allocations: 56.89 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.2671, allocations: 143.4 kB / 436.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.2673, allocations: 147.3 kB / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.2674, allocations: 28 kB / 436.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.168e-05/0.2674, allocations: 32 kB / 436.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.2675, allocations: 67.69 kB / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.2677, allocations: 151.3 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.268, allocations: 321 kB / 437 MB, free: 1.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2681, allocations: 3.938 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2681, allocations: 0 / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2681, allocations: 0 / 437 MB, free: 1.812 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001237/0.2693, allocations: 0.5702 MB / 437.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.2693, allocations: 12.03 kB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.689e-05/0.2694, allocations: 54.73 kB / 437.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.2695, allocations: 32.75 kB / 437.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.2699, allocations: 233.9 kB / 437.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.2699, allocations: 12.81 kB / 437.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.27, allocations: 24.38 kB / 437.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.2706, allocations: 277.8 kB / 438.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2706, allocations: 3.984 kB / 438.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.2707, allocations: 12 kB / 438.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.2707, allocations: 4 kB / 438.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/0.2714, allocations: 241.6 kB / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.2731, allocations: 0.9174 MB / 439.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008392/0.2739, allocations: 230.5 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.2743, allocations: 100.8 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.2743, allocations: 0 / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004867/0.2748, allocations: 181.7 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2748, allocations: 0 / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00217/0.277, allocations: 0.5754 MB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/0.277, allocations: 118.8 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.2774, allocations: 273.8 kB / 440.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.2774, allocations: 33.7 kB / 440.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.2776, allocations: 180 kB / 441 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.2776, allocations: 39.69 kB / 441.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.2777, allocations: 49.66 kB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2779, allocations: 334.8 kB / 441.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.2782, allocations: 99.92 kB / 441.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.2786, allocations: 178.2 kB / 441.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.2793, allocations: 286.1 kB / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2793, allocations: 0 / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001228/0.2805, allocations: 446.6 kB / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.2806, allocations: 37.64 kB / 442.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2806, allocations: 4 kB / 442.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003743/0.281, allocations: 80.73 kB / 442.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.2812, allocations: 44.03 kB / 442.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.2841, allocations: 1.902 MB / 444.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.2845, allocations: 51.81 kB / 444.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.2845, allocations: 8.219 kB / 444.6 MB, free: 9.785 MB / 350.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: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0001864/0.2847, allocations: 147.4 kB / 444.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.2847, allocations: 35.73 kB / 444.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.2848, allocations: 17.78 kB / 444.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.2848, allocations: 7.984 kB / 444.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2848, allocations: 0 / 444.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2848, allocations: 0 / 444.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.2851, allocations: 264.5 kB / 445 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2851, allocations: 7.938 kB / 445 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.2852, allocations: 19.97 kB / 445.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/0.2855, allocations: 84.73 kB / 445.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.2855, allocations: 0 / 445.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.2881, allocations: 1.816 MB / 447 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2881, allocations: 0 / 447 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.2892, allocations: 361.6 kB / 447.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.2892, allocations: 23.8 kB / 447.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.2892, allocations: 12 kB / 447.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.2895, allocations: 27.97 kB / 447.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.2896, allocations: 19.95 kB / 447.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.2896, allocations: 8 kB / 447.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.2898, allocations: 189.2 kB / 447.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2898, allocations: 0 / 447.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000398/0.2902, allocations: 71.94 kB / 447.6 MB, free: 6.508 MB / 350.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001423/0.2916, allocations: 0.9008 MB / 448.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.2929, allocations: 461.8 kB / 449 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2929, allocations: 0 / 449 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.2934, allocations: 242.8 kB / 449.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.2938, allocations: 56.12 kB / 449.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00727/0.301, allocations: 3.434 MB / 452.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.3014, allocations: 0.748 MB / 453.5 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.3016, allocations: 26.28 kB / 453.5 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.3017, allocations: 67.42 kB / 453.6 MB, free: 360 kB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3017, allocations: 0 / 453.6 MB, free: 360 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03648/0.3382, allocations: 6.531 MB / 460.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.2, allocations: 4 kB / 460.1 MB, free: 9.98 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.615877690725029] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.299889599904418 12.329901814 12.055891289 Calling exit ...