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.001755/0.001755, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002224/0.002224, allocations: 186.4 kB / 23.7 MB, free: 4.191 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.453/1.453, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.001549/0.001549, allocations: 43.92 kB / 370.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2396, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004061/0.2436, allocations: 2.584 MB / 425.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.2448, allocations: 0.6505 MB / 425.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.245, allocations: 7.938 kB / 425.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.2451, allocations: 43.58 kB / 425.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.2453, allocations: 99.23 kB / 426 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.2456, allocations: 95.81 kB / 426.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.246, allocations: 354.6 kB / 426.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.2462, allocations: 60.69 kB / 426.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.2464, allocations: 135.5 kB / 426.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.2466, allocations: 131.3 kB / 426.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.2466, allocations: 28 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.341e-05/0.2467, allocations: 32 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.2467, allocations: 67.69 kB / 426.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.2469, allocations: 131.4 kB / 427 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.2473, allocations: 316.6 kB / 427.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2473, allocations: 4 kB / 427.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2473, allocations: 0 / 427.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2473, allocations: 0 / 427.3 MB, free: 9.676 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.001236/0.2485, allocations: 0.5663 MB / 427.9 MB, free: 9.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2486, allocations: 11.97 kB / 427.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.704e-05/0.2486, allocations: 58.72 kB / 427.9 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.2487, allocations: 32.75 kB / 428 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.2491, allocations: 229.9 kB / 428.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.2491, allocations: 16.75 kB / 428.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.2491, allocations: 24.38 kB / 428.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.2498, allocations: 329.3 kB / 428.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2498, allocations: 0 / 428.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.2498, allocations: 4 kB / 428.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2499, allocations: 8 kB / 428.6 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007643/0.2506, allocations: 245.6 kB / 428.8 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.2522, allocations: 0.8473 MB / 429.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/0.253, allocations: 230.6 kB / 429.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.2533, allocations: 104.8 kB / 430 MB, free: 6.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.2534, allocations: 0 / 430 MB, free: 6.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005134/0.2539, allocations: 237.1 kB / 430.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2539, allocations: 0 / 430.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002258/0.2561, allocations: 0.5822 MB / 430.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.2562, allocations: 106.8 kB / 430.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.2565, allocations: 269.8 kB / 431.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.2566, allocations: 33.7 kB / 431.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2567, allocations: 188 kB / 431.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.2567, allocations: 39.91 kB / 431.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.824e-05/0.2568, allocations: 49.66 kB / 431.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.257, allocations: 338.8 kB / 431.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.2573, allocations: 129.6 kB / 431.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.2578, allocations: 263.3 kB / 432.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007017/0.2585, allocations: 284.7 kB / 432.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2585, allocations: 0 / 432.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001266/0.2597, allocations: 481.3 kB / 432.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.2598, allocations: 33.7 kB / 433 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2598, allocations: 4 kB / 433 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000381/0.2602, allocations: 80.86 kB / 433.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.2604, allocations: 43.91 kB / 433.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/0.2634, allocations: 1.886 MB / 435 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.2637, allocations: 51.86 kB / 435 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.2637, allocations: 11.98 kB / 435 MB, free: 1.418 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.0001537/0.2639, allocations: 145.3 kB / 435.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.2639, allocations: 27.8 kB / 435.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.264, allocations: 21.77 kB / 435.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.264, allocations: 4 kB / 435.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.264, allocations: 0 / 435.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.264, allocations: 4 kB / 435.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.2643, allocations: 240.5 kB / 435.5 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2643, allocations: 0 / 435.5 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.2644, allocations: 19.98 kB / 435.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002706/0.2647, allocations: 84.78 kB / 435.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.2647, allocations: 7.969 kB / 435.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/0.2672, allocations: 1.802 MB / 437.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2672, allocations: 3.984 kB / 437.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.2683, allocations: 361.5 kB / 437.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.2683, allocations: 31.78 kB / 437.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.2684, allocations: 0 / 437.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.2686, allocations: 31.97 kB / 437.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.2687, allocations: 23.97 kB / 437.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.2687, allocations: 11.92 kB / 437.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.2689, allocations: 193.2 kB / 438 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2689, allocations: 3.938 kB / 438 MB, free: 14.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000398/0.2693, allocations: 63.95 kB / 438.1 MB, free: 14.18 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.001463/0.2708, allocations: 0.8901 MB / 439 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.2722, allocations: 0.4976 MB / 439.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2722, allocations: 0 / 439.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005039/0.2727, allocations: 231 kB / 439.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.273, allocations: 46.23 kB / 439.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007338/0.2804, allocations: 3.549 MB / 443.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.2805, allocations: 142.1 kB / 443.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.2806, allocations: 26.33 kB / 443.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.2807, allocations: 75.41 kB / 443.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2807, allocations: 0 / 443.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03867/0.3194, allocations: 7.073 MB / 450.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.71, allocations: 0 / 450.6 MB, free: 1.586 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.149828203953803] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.825314784888178 12.840444414 12.590133681 Calling exit ...