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.0008175/0.0008175, allocations: 88.05 kB / 20.67 MB, free: 3.871 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.0008017/0.0008017, allocations: 145.1 kB / 23.93 MB, free: 0.6172 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.9208/0.9208, allocations: 173.4 MB / 200.4 MB, free: 9.426 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 1.914e-06/1.914e-06, allocations: 0 / 318.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.108e-05, allocations: 6.219 kB / 318.5 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003379/0.0034, allocations: 2.578 MB / 321.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.004721, allocations: 0.6505 MB / 321.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.004905, allocations: 7.938 kB / 321.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.005037, allocations: 35.64 kB / 321.7 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.005213, allocations: 103.1 kB / 321.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.005491, allocations: 95.75 kB / 321.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.005803, allocations: 374.4 kB / 322.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.005959, allocations: 52.89 kB / 322.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.006152, allocations: 195.5 kB / 322.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.006277, allocations: 123.6 kB / 322.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.006318, allocations: 28 kB / 322.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.049e-05/0.006348, allocations: 28 kB / 322.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.006393, allocations: 63.75 kB / 322.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.185e-05/0.006485, allocations: 103.7 kB / 322.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.006777, allocations: 331 kB / 323.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.00678, allocations: 0 / 323.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.006782, allocations: 0 / 323.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.006788, allocations: 8 kB / 323.2 MB, free: 1.535 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.0009106/0.007699, allocations: 0.5656 MB / 323.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.007737, allocations: 12.92 kB / 323.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.007782, allocations: 58.73 kB / 323.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.007838, allocations: 32.75 kB / 323.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.008138, allocations: 229.2 kB / 324.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.008156, allocations: 12.88 kB / 324.1 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.00818, allocations: 20.38 kB / 324.1 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.008651, allocations: 334.6 kB / 324.5 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.008661, allocations: 192 / 324.5 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.008683, allocations: 12.12 kB / 324.5 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.008691, allocations: 4 kB / 324.5 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.009112, allocations: 241.8 kB / 324.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.01013, allocations: 0.852 MB / 325.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.0106, allocations: 230.6 kB / 325.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.01077, allocations: 96.78 kB / 325.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.01078, allocations: 0 / 325.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002939/0.01108, allocations: 237.2 kB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.01108, allocations: 0 / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001258/0.01234, allocations: 0.576 MB / 326.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.0124, allocations: 115 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.01263, allocations: 269.8 kB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.01265, allocations: 41.58 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.808e-05/0.01274, allocations: 180 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.01277, allocations: 39.66 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.01284, allocations: 45.7 kB / 327.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.01294, allocations: 338.8 kB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.01315, allocations: 133.6 kB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.0134, allocations: 263.9 kB / 328.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.01378, allocations: 292.8 kB / 328.4 MB, free: 12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01378, allocations: 0 / 328.4 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006559/0.01444, allocations: 477.5 kB / 328.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.01447, allocations: 33.64 kB / 328.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01447, allocations: 4 kB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.01471, allocations: 76.8 kB / 329 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.01481, allocations: 47.97 kB / 329 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.01645, allocations: 1.883 MB / 330.9 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.01662, allocations: 51.75 kB / 330.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.01664, allocations: 11.98 kB / 331 MB, free: 9.285 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.000108/0.01675, allocations: 149.8 kB / 331.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.01677, allocations: 23.86 kB / 331.1 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.0168, allocations: 25.77 kB / 331.1 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.0168, allocations: 4 kB / 331.2 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01681, allocations: 3.938 kB / 331.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01681, allocations: 48 / 331.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.01697, allocations: 232.6 kB / 331.4 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01697, allocations: 0 / 331.4 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.01704, allocations: 23.98 kB / 331.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001518/0.01719, allocations: 76.8 kB / 331.5 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.0172, allocations: 3.984 kB / 331.5 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.01852, allocations: 1.812 MB / 333.3 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01852, allocations: 0 / 333.3 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.01905, allocations: 364.2 kB / 333.7 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.01908, allocations: 27.78 kB / 333.7 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.0191, allocations: 8 kB / 333.7 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.01922, allocations: 27.91 kB / 333.7 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.01928, allocations: 19.97 kB / 333.7 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.01929, allocations: 11.98 kB / 333.7 MB, free: 6.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.01942, allocations: 189.2 kB / 333.9 MB, free: 6.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01942, allocations: 0 / 333.9 MB, free: 6.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.01968, allocations: 75.83 kB / 334 MB, free: 6.055 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.0007566/0.02044, allocations: 0.8972 MB / 334.9 MB, free: 5.125 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007738/0.02121, allocations: 0.4956 MB / 335.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02122, allocations: 0 / 335.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.02148, allocations: 225.9 kB / 335.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.02173, allocations: 48.91 kB / 335.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.0261, allocations: 3.545 MB / 339.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.383e-05/0.02619, allocations: 138.2 kB / 339.3 MB, free: 444 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.287e-05/0.02627, allocations: 30.31 kB / 339.4 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.152e-05/0.02637, allocations: 72.48 kB / 339.4 MB, free: 344 kB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02637, allocations: 3.938 kB / 339.5 MB, free: 340 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.04572, allocations: 7.207 MB / 346.7 MB, free: 9.293 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/7.744, allocations: 12.05 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.562074229121208] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 7.840714577585459 7.851255369 7.842664048 Calling exit ...