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.001804/0.001804, allocations: 116 kB / 17.78 MB, free: 5.289 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.001298/0.001298, allocations: 190.9 kB / 20.73 MB, free: 2.352 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.438/1.438, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.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.001636/0.001636, allocations: 59.89 kB / 365.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1127, allocations: 52.15 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.005391/0.1181, allocations: 2.758 MB / 420.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1198, allocations: 0.6778 MB / 421.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.12, allocations: 7.938 kB / 421.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.1202, allocations: 47.56 kB / 421.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.1204, allocations: 87.25 kB / 421.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.1207, allocations: 99.83 kB / 421.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.1212, allocations: 358.6 kB / 421.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.1214, allocations: 57.42 kB / 421.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.1216, allocations: 139.4 kB / 422 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.1218, allocations: 151.3 kB / 422.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.1218, allocations: 28 kB / 422.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.032e-05/0.1219, allocations: 32 kB / 422.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.122, allocations: 63.75 kB / 422.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.1221, allocations: 143.3 kB / 422.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.1226, allocations: 338.5 kB / 422.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1226, allocations: 0 / 422.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1226, allocations: 0 / 422.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.1226, allocations: 0 / 422.8 MB, free: 7.602 MB / 350.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.001386/0.124, allocations: 0.6494 MB / 423.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.124, allocations: 8.031 kB / 423.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.955e-05/0.1241, allocations: 54.73 kB / 423.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.1242, allocations: 36.73 kB / 423.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.1246, allocations: 283.8 kB / 423.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.1246, allocations: 12.81 kB / 423.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.1247, allocations: 24.38 kB / 423.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.1254, allocations: 281.9 kB / 424.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1254, allocations: 0 / 424.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.1254, allocations: 7.938 kB / 424.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1254, allocations: 8 kB / 424.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007888/0.1262, allocations: 241.6 kB / 424.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.128, allocations: 0.9521 MB / 425.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.1288, allocations: 230.5 kB / 425.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.1292, allocations: 96.78 kB / 425.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1292, allocations: 0 / 425.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004785/0.1297, allocations: 177.8 kB / 425.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.1297, allocations: 0 / 425.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002427/0.1321, allocations: 0.662 MB / 426.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.1322, allocations: 106.8 kB / 426.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.1325, allocations: 274.6 kB / 426.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1325, allocations: 29.7 kB / 426.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1327, allocations: 184.1 kB / 427.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.1327, allocations: 43.64 kB / 427.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.195e-05/0.1328, allocations: 45.7 kB / 427.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.133, allocations: 334.8 kB / 427.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.1333, allocations: 99.92 kB / 427.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/0.1337, allocations: 182.8 kB / 427.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007304/0.1345, allocations: 278.1 kB / 428 MB, free: 1.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.1345, allocations: 4 kB / 428 MB, free: 1.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001265/0.1357, allocations: 456.2 kB / 428.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.1358, allocations: 29.77 kB / 428.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1358, allocations: 8 kB / 428.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004068/0.1362, allocations: 76.8 kB / 428.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.1364, allocations: 47.89 kB / 428.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/0.1396, allocations: 2.009 MB / 430.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.14, allocations: 55.83 kB / 430.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.14, allocations: 11.94 kB / 430.7 MB, free: 15.14 MB / 366.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.0001892/0.1402, allocations: 145.7 kB / 430.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.1402, allocations: 27.8 kB / 430.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.1403, allocations: 29.89 kB / 430.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1403, allocations: 4 kB / 430.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1403, allocations: 0 / 430.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1403, allocations: 0 / 430.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.1406, allocations: 289.5 kB / 431.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1406, allocations: 0 / 431.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.1408, allocations: 19.92 kB / 431.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002965/0.1411, allocations: 84.73 kB / 431.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.1411, allocations: 3.984 kB / 431.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/0.1438, allocations: 1.935 MB / 433.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1438, allocations: 0 / 433.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1449, allocations: 361.6 kB / 433.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.145, allocations: 92.97 kB / 433.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.145, allocations: 11.98 kB / 433.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.1453, allocations: 27.97 kB / 433.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/0.1453, allocations: 23.97 kB / 433.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1454, allocations: 4 kB / 433.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.1456, allocations: 194 kB / 433.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1456, allocations: 0 / 433.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004286/0.146, allocations: 75.89 kB / 434 MB, free: 11.6 MB / 366.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.001553/0.1476, allocations: 0.8901 MB / 434.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.149, allocations: 481.5 kB / 435.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.149, allocations: 0 / 435.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.1495, allocations: 234.9 kB / 435.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1498, allocations: 48.48 kB / 435.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007596/0.1574, allocations: 3.424 MB / 439.1 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.1578, allocations: 0.744 MB / 439.8 MB, free: 5.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.1579, allocations: 26.28 kB / 439.8 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.1581, allocations: 75.41 kB / 439.9 MB, free: 5.453 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1581, allocations: 4 kB / 439.9 MB, free: 5.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2311/0.3891, allocations: 6.369 MB / 446.3 MB, free: 30.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.16, allocations: 10.02 kB / 446.3 MB, free: 30.24 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.640606109052896] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.255907299928367 12.278730254 12.151628296 Calling exit ...