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.001237/0.001237, allocations: 79.69 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.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.0008672/0.0008672, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8824/0.8824, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.734e-06/1.734e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.931e-05, allocations: 6.219 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002709/0.002728, allocations: 2.603 MB / 327.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003937, allocations: 0.6933 MB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.00405, allocations: 11.94 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.004173, allocations: 35.64 kB / 328 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.004308, allocations: 99.12 kB / 328.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.004557, allocations: 99.8 kB / 328.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.00486, allocations: 366.4 kB / 328.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.00501, allocations: 56.77 kB / 328.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.005177, allocations: 203.5 kB / 328.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.005293, allocations: 119.6 kB / 328.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.005331, allocations: 28 kB / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.846e-05/0.005359, allocations: 28 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.488e-05/0.005404, allocations: 67.75 kB / 329 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.107e-05/0.005485, allocations: 99.69 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.005752, allocations: 334.9 kB / 329.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005753, allocations: 0 / 329.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005754, allocations: 4 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.005759, allocations: 0 / 329.4 MB, free: 11.05 MB / 298.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.0008041/0.006563, allocations: 0.5734 MB / 330 MB, free: 10.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.006603, allocations: 12.03 kB / 330 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.006647, allocations: 54.73 kB / 330.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.006695, allocations: 36.75 kB / 330.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.006959, allocations: 225.2 kB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.006973, allocations: 12.88 kB / 330.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.006995, allocations: 24.31 kB / 330.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.00739, allocations: 326.7 kB / 330.7 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.007399, allocations: 8.172 kB / 330.7 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.007418, allocations: 12.12 kB / 330.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.007424, allocations: 4 kB / 330.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003941/0.007818, allocations: 245.8 kB / 330.9 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.008786, allocations: 0.852 MB / 331.8 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.009234, allocations: 226.6 kB / 332 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.009402, allocations: 96.78 kB / 332.1 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.009421, allocations: 0 / 332.1 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.009722, allocations: 237 kB / 332.3 MB, free: 7.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.11e-07/0.009723, allocations: 0 / 332.3 MB, free: 7.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001166/0.01089, allocations: 0.5799 MB / 332.9 MB, free: 7.355 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.01094, allocations: 106.8 kB / 333 MB, free: 7.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.01112, allocations: 266.1 kB / 333.3 MB, free: 6.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.01114, allocations: 33.7 kB / 333.3 MB, free: 6.918 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.01123, allocations: 188 kB / 333.5 MB, free: 6.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.01126, allocations: 43.62 kB / 333.5 MB, free: 6.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.01131, allocations: 45.7 kB / 333.6 MB, free: 6.637 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.0114, allocations: 338.8 kB / 333.9 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.01159, allocations: 129.6 kB / 334.1 MB, free: 6.164 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.01182, allocations: 267.2 kB / 334.3 MB, free: 5.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.01247, allocations: 288.8 kB / 334.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01247, allocations: 0 / 334.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006213/0.01309, allocations: 469.5 kB / 335.1 MB, free: 5.051 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.01312, allocations: 41.7 kB / 335.1 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.01312, allocations: 7.984 kB / 335.1 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/0.01337, allocations: 76.8 kB / 335.2 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.01348, allocations: 47.91 kB / 335.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.01504, allocations: 1.883 MB / 337.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.01519, allocations: 55.75 kB / 337.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.0152, allocations: 11.98 kB / 337.2 MB, free: 2.801 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 9.981e-05/0.0153, allocations: 149.1 kB / 337.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.01532, allocations: 23.86 kB / 337.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.01535, allocations: 25.77 kB / 337.4 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01535, allocations: 4 kB / 337.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/0.01536, allocations: 3.938 kB / 337.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01536, allocations: 0 / 337.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.01552, allocations: 240.6 kB / 337.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01552, allocations: 0 / 337.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.01558, allocations: 23.97 kB / 337.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000146/0.01573, allocations: 72.81 kB / 337.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01574, allocations: 7.984 kB / 337.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.017, allocations: 1.804 MB / 339.5 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.017, allocations: 0 / 339.5 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.01757, allocations: 353.5 kB / 339.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.0176, allocations: 35.72 kB / 339.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.01762, allocations: 8 kB / 339.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.01774, allocations: 39.89 kB / 339.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.0178, allocations: 19.91 kB / 340 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.01781, allocations: 4 kB / 340 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.01794, allocations: 193.2 kB / 340.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01794, allocations: 3.938 kB / 340.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.0182, allocations: 67.94 kB / 340.2 MB, free: 15.56 MB / 314.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.0007272/0.01893, allocations: 0.8902 MB / 341.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007225/0.01965, allocations: 0.5031 MB / 341.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01965, allocations: 0 / 341.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005183/0.02017, allocations: 218.6 kB / 341.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.02041, allocations: 56.88 kB / 341.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.02453, allocations: 3.539 MB / 345.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.196e-05/0.02461, allocations: 138.2 kB / 345.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.02468, allocations: 26.28 kB / 345.6 MB, free: 9.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.02477, allocations: 72.48 kB / 345.7 MB, free: 9.859 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02477, allocations: 0 / 345.7 MB, free: 9.859 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.04711, allocations: 7.241 MB / 352.9 MB, free: 2.797 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/7.989, allocations: 16.86 kB / 352.9 MB, free: 2.785 MB / 314.7 MB " [Timeout remaining time 652] (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: 9.747656584717333] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 8.083066390827298 8.095361201 8.087085272 Calling exit ...