Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 209.5 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.387/1.387, allocations: 230.6 MB / 257.5 MB, free: 7.785 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0_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_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.92 kB / 377.8 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2455, allocations: 53.36 MB / 431.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004252/0.2497, allocations: 2.609 MB / 433.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2511, allocations: 0.6701 MB / 434.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.2512, allocations: 7.938 kB / 434.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.2513, allocations: 43.56 kB / 434.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.2516, allocations: 91.25 kB / 434.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.2518, allocations: 107.8 kB / 434.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.2522, allocations: 354.5 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.2524, allocations: 64.69 kB / 435 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.2526, allocations: 139.4 kB / 435.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.2528, allocations: 151.4 kB / 435.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.72e-05/0.2528, allocations: 35.94 kB / 435.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.44e-05/0.2529, allocations: 28 kB / 435.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.253, allocations: 59.81 kB / 435.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.2531, allocations: 123.4 kB / 435.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.2535, allocations: 328.5 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2535, allocations: 0 / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2535, allocations: 0 / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2535, allocations: 0 / 435.9 MB, free: 1.797 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.001266/0.2548, allocations: 0.5702 MB / 436.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2548, allocations: 12.03 kB / 436.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.677e-05/0.2549, allocations: 58.67 kB / 436.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.2549, allocations: 32.73 kB / 436.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.2553, allocations: 229.9 kB / 436.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.2554, allocations: 12.81 kB / 436.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.2554, allocations: 24.38 kB / 436.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.256, allocations: 333.3 kB / 437.2 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.256, allocations: 3.938 kB / 437.2 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.2561, allocations: 8 kB / 437.2 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2561, allocations: 4 kB / 437.2 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000718/0.2568, allocations: 249.5 kB / 437.4 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.2583, allocations: 0.8473 MB / 438.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008089/0.2592, allocations: 234.5 kB / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.2595, allocations: 96.78 kB / 438.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2595, allocations: 4 kB / 438.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004867/0.26, allocations: 225.2 kB / 438.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.26, allocations: 0 / 438.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002354/0.2623, allocations: 0.5828 MB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.2624, allocations: 110.8 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.2627, allocations: 273.8 kB / 439.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.2628, allocations: 29.7 kB / 439.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.2629, allocations: 184 kB / 440 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.2629, allocations: 43.64 kB / 440 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/0.263, allocations: 53.64 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2632, allocations: 334.8 kB / 440.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.2635, allocations: 125.6 kB / 440.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.264, allocations: 259.3 kB / 440.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.2647, allocations: 278.1 kB / 441 MB, free: 12.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2647, allocations: 8.156 kB / 441.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001232/0.2659, allocations: 483.8 kB / 441.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.2659, allocations: 37.64 kB / 441.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.266, allocations: 8 kB / 441.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/0.2663, allocations: 76.86 kB / 441.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.2665, allocations: 51.89 kB / 441.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/0.2696, allocations: 1.875 MB / 443.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.27, allocations: 63.8 kB / 443.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.27, allocations: 8 kB / 443.6 MB, free: 9.539 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.0001909/0.2702, allocations: 144.5 kB / 443.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.2703, allocations: 27.8 kB / 443.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.2703, allocations: 25.77 kB / 443.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2703, allocations: 4 kB / 443.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.2703, allocations: 0 / 443.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2703, allocations: 7.984 kB / 443.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.2706, allocations: 232.6 kB / 444.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2706, allocations: 128 / 444.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.2707, allocations: 23.97 kB / 444.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/0.2711, allocations: 88.67 kB / 444.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2711, allocations: 0 / 444.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.2735, allocations: 1.804 MB / 446 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2735, allocations: 0 / 446 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.2745, allocations: 361.6 kB / 446.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.2746, allocations: 23.8 kB / 446.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.2746, allocations: 4 kB / 446.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.2749, allocations: 35.95 kB / 446.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.275, allocations: 15.97 kB / 446.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.275, allocations: 8 kB / 446.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.2752, allocations: 197.2 kB / 446.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2752, allocations: 0 / 446.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.2756, allocations: 63.95 kB / 446.7 MB, free: 6.309 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.001389/0.277, allocations: 0.898 MB / 447.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.2783, allocations: 0.4955 MB / 448.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2783, allocations: 0 / 448.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.2788, allocations: 234.1 kB / 448.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.2791, allocations: 52.47 kB / 448.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007274/0.2864, allocations: 3.553 MB / 451.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.2865, allocations: 138.2 kB / 452 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.2866, allocations: 22.28 kB / 452.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.2868, allocations: 79.41 kB / 452.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of SimCode: time 1.192e-06/0.2868, allocations: 0 / 452.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.3238, allocations: 7.161 MB / 459.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.51, allocations: 0 / 459.3 MB, free: 9.613 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.893357816996286] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.632011804002104 12.661055146 12.402352317 Calling exit ...