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.001311/0.001311, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001377/0.001377, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.419/1.419, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001582/0.001582, allocations: 47.92 kB / 370.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.258, allocations: 52.19 MB / 422.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004114/0.2621, allocations: 2.774 MB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.2633, allocations: 0.6855 MB / 426.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.2634, allocations: 4 kB / 426.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.2635, allocations: 43.52 kB / 426.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.2637, allocations: 95.25 kB / 426.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.264, allocations: 95.81 kB / 426.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.2644, allocations: 362.5 kB / 426.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.2646, allocations: 60.89 kB / 426.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.2648, allocations: 135.5 kB / 426.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.265, allocations: 151.3 kB / 427.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/0.265, allocations: 28 kB / 427.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.048e-05/0.2651, allocations: 28 kB / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.2651, allocations: 71.75 kB / 427.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.2653, allocations: 147.3 kB / 427.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.2657, allocations: 323.1 kB / 427.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2657, allocations: 0 / 427.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2657, allocations: 0 / 427.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.2657, allocations: 0 / 427.6 MB, free: 9.594 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.001264/0.267, allocations: 0.5741 MB / 428.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.267, allocations: 8.031 kB / 428.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.058e-05/0.2671, allocations: 54.73 kB / 428.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.2671, allocations: 32.75 kB / 428.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.2675, allocations: 233.9 kB / 428.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.2676, allocations: 16.81 kB / 428.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.2676, allocations: 16.38 kB / 428.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.2683, allocations: 281.8 kB / 428.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2683, allocations: 0 / 428.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.2683, allocations: 12 kB / 428.9 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2683, allocations: 8 kB / 428.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007344/0.269, allocations: 241.6 kB / 429.1 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.2706, allocations: 0.9095 MB / 430 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/0.2714, allocations: 234.6 kB / 430.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.2717, allocations: 96.78 kB / 430.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.2718, allocations: 4 kB / 430.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/0.2722, allocations: 181.5 kB / 430.5 MB, free: 6.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.2722, allocations: 4 kB / 430.5 MB, free: 6.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002311/0.2746, allocations: 0.576 MB / 431.1 MB, free: 5.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.2746, allocations: 110.8 kB / 431.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.275, allocations: 265.8 kB / 431.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.275, allocations: 33.92 kB / 431.5 MB, free: 5.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.2752, allocations: 184 kB / 431.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.2752, allocations: 43.58 kB / 431.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.389e-05/0.2753, allocations: 45.7 kB / 431.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2755, allocations: 338.8 kB / 432.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.2758, allocations: 95.92 kB / 432.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.2763, allocations: 186.1 kB / 432.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/0.277, allocations: 278.1 kB / 432.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.277, allocations: 4 kB / 432.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001312/0.2783, allocations: 454.9 kB / 433.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.2784, allocations: 33.7 kB / 433.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2784, allocations: 4 kB / 433.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004151/0.2788, allocations: 80.86 kB / 433.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.279, allocations: 51.88 kB / 433.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/0.2821, allocations: 1.898 MB / 435.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.2825, allocations: 55.8 kB / 435.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.2825, allocations: 4 kB / 435.2 MB, free: 1.559 MB / 334.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.0001777/0.2827, allocations: 149.8 kB / 435.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.2827, allocations: 27.8 kB / 435.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.2828, allocations: 25.77 kB / 435.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.2828, allocations: 4 kB / 435.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2828, allocations: 0 / 435.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2828, allocations: 0 / 435.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.2831, allocations: 252.7 kB / 435.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2831, allocations: 4 kB / 435.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.2832, allocations: 23.97 kB / 435.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000286/0.2835, allocations: 84.73 kB / 435.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.2835, allocations: 0 / 435.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/0.2862, allocations: 1.829 MB / 437.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2862, allocations: 0 / 437.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2873, allocations: 353.6 kB / 437.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.2873, allocations: 27.84 kB / 438 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.2874, allocations: 4 kB / 438 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.2876, allocations: 39.89 kB / 438 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.2877, allocations: 15.97 kB / 438 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.2877, allocations: 8.062 kB / 438 MB, free: 14.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000235/0.288, allocations: 197.2 kB / 438.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.288, allocations: 3.938 kB / 438.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004377/0.2884, allocations: 71.89 kB / 438.3 MB, free: 14.28 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.001539/0.2899, allocations: 0.8863 MB / 439.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.2913, allocations: 477.8 kB / 439.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2913, allocations: 448 / 439.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.2918, allocations: 233.7 kB / 439.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.2921, allocations: 50.23 kB / 439.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007152/0.2993, allocations: 3.428 MB / 443.4 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.2996, allocations: 0.748 MB / 444.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.2997, allocations: 26.28 kB / 444.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.2999, allocations: 75.41 kB / 444.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.2999, allocations: 0 / 444.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/0.3368, allocations: 6.539 MB / 450.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.74, allocations: 11.81 kB / 450.8 MB, free: 1.746 MB / 350.1 MB " [Timeout remaining time 647] (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: 15.16484644600132] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.854564922999998 12.878527809 12.608983209 Calling exit ...