Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 153 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9286/0.9286, allocations: 173.4 MB / 200.5 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 318.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.957e-05, allocations: 2.281 kB / 318.5 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003858/0.003888, allocations: 2.578 MB / 321.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.005266, allocations: 0.6505 MB / 321.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.005414, allocations: 7.938 kB / 321.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.005543, allocations: 43.58 kB / 321.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.005722, allocations: 99.19 kB / 321.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.006048, allocations: 99.75 kB / 322 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000383/0.006431, allocations: 370.3 kB / 322.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.00661, allocations: 52.91 kB / 322.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.006874, allocations: 195.5 kB / 322.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.007008, allocations: 115.6 kB / 322.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.00705, allocations: 28 kB / 322.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.949e-05/0.007079, allocations: 28 kB / 322.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.007129, allocations: 63.75 kB / 322.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.00723, allocations: 111.7 kB / 322.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.007512, allocations: 327 kB / 323.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.007517, allocations: 4 kB / 323.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.007519, allocations: 0 / 323.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.007524, allocations: 0 / 323.2 MB, free: 1.539 MB / 282.7 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.001112/0.008636, allocations: 0.5734 MB / 323.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.157e-05/0.008697, allocations: 12.92 kB / 323.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.847e-05/0.008756, allocations: 58.72 kB / 323.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.008824, allocations: 32.75 kB / 323.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.00919, allocations: 229.1 kB / 324.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.009208, allocations: 12.88 kB / 324.1 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.009231, allocations: 24.38 kB / 324.2 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.009705, allocations: 326.7 kB / 324.5 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.009715, allocations: 192 / 324.5 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.009735, allocations: 12.12 kB / 324.5 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.009748, allocations: 4 kB / 324.5 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.01016, allocations: 249.8 kB / 324.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.0113, allocations: 0.8481 MB / 325.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.01177, allocations: 230.5 kB / 325.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.01194, allocations: 108.7 kB / 325.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.01196, allocations: 0 / 325.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.01227, allocations: 225.3 kB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.01227, allocations: 0 / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001323/0.01359, allocations: 0.5836 MB / 326.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.01367, allocations: 107 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.01391, allocations: 273.8 kB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.01393, allocations: 37.58 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.01404, allocations: 184 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.01407, allocations: 43.64 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.01413, allocations: 45.7 kB / 327.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.01424, allocations: 338.8 kB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.01443, allocations: 129.6 kB / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.01468, allocations: 268 kB / 328.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.01504, allocations: 280.6 kB / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.01505, allocations: 4 kB / 328.4 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006746/0.01573, allocations: 473.5 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.01576, allocations: 37.62 kB / 328.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01577, allocations: 4 kB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/0.01604, allocations: 80.86 kB / 329 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.01615, allocations: 43.91 kB / 329 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.01781, allocations: 1.886 MB / 330.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.018, allocations: 59.81 kB / 331 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.01802, allocations: 8 kB / 331 MB, free: 9.277 MB / 298.7 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.0001263/0.01815, allocations: 145.6 kB / 331.1 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.01817, allocations: 23.86 kB / 331.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.0182, allocations: 21.78 kB / 331.2 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.0182, allocations: 7.984 kB / 331.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.01821, allocations: 3.938 kB / 331.2 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01821, allocations: 48 / 331.2 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.01839, allocations: 228.7 kB / 331.4 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01839, allocations: 4 kB / 331.4 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.01847, allocations: 23.97 kB / 331.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.01864, allocations: 76.8 kB / 331.5 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01865, allocations: 4 kB / 331.5 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.02007, allocations: 1.816 MB / 333.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02007, allocations: 0 / 333.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.02061, allocations: 361.6 kB / 333.7 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.02064, allocations: 19.8 kB / 333.7 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.02066, allocations: 11.98 kB / 333.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.02077, allocations: 31.91 kB / 333.7 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.02084, allocations: 19.97 kB / 333.7 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.02085, allocations: 8 kB / 333.8 MB, free: 6.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.02099, allocations: 197.2 kB / 333.9 MB, free: 6.117 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02099, allocations: 0 / 333.9 MB, free: 6.117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002931/0.02128, allocations: 67.89 kB / 334 MB, free: 6.051 MB / 298.7 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.0007787/0.02206, allocations: 0.8972 MB / 334.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007498/0.02281, allocations: 0.4917 MB / 335.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02281, allocations: 0 / 335.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.02306, allocations: 234.9 kB / 335.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.02331, allocations: 48.45 kB / 335.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.02752, allocations: 3.544 MB / 339.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.554e-05/0.02762, allocations: 138.2 kB / 339.4 MB, free: 436 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.374e-05/0.02771, allocations: 26.33 kB / 339.4 MB, free: 412 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.02781, allocations: 80.47 kB / 339.5 MB, free: 332 kB / 298.7 MB Notification: Performance of SimCode: time 1.233e-06/0.02781, allocations: 3.938 kB / 339.5 MB, free: 328 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.05122, allocations: 7.199 MB / 346.7 MB, free: 9.289 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/7.804, allocations: 11.56 kB / 346.7 MB, free: 9.281 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.499159685336053] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 7.899248564615846 7.90846983 7.897646773 Calling exit ...