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.001282/0.001282, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001533/0.001533, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.433/1.433, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001465/0.001465, allocations: 47.92 kB / 373 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 53.33 MB / 426.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004287/0.1117, allocations: 2.783 MB / 429.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.113, allocations: 0.7128 MB / 429.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.1132, allocations: 7.938 kB / 429.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.1133, allocations: 43.58 kB / 429.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.1135, allocations: 91.25 kB / 430 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.1138, allocations: 95.81 kB / 430.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.1142, allocations: 358.5 kB / 430.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1144, allocations: 64.7 kB / 430.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.1146, allocations: 135.5 kB / 430.6 MB, free: 448 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1148, allocations: 151.3 kB / 430.8 MB, free: 296 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.1148, allocations: 28 kB / 430.8 MB, free: 268 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.753e-05/0.1149, allocations: 28 kB / 430.8 MB, free: 240 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.978e-05/0.115, allocations: 63.77 kB / 430.9 MB, free: 176 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.1151, allocations: 139.3 kB / 431 MB, free: 36 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.194/0.3091, allocations: 329.3 kB / 431.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3091, allocations: 1.969 kB / 431.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3091, allocations: 0 / 431.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.3092, allocations: 2.094 kB / 431.4 MB, free: 7.996 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.001323/0.3105, allocations: 0.6505 MB / 432 MB, free: 7.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3105, allocations: 9.938 kB / 432 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/0.3106, allocations: 53.47 kB / 432.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/0.3107, allocations: 34.45 kB / 432.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.3111, allocations: 278 kB / 432.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3111, allocations: 16.95 kB / 432.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.3111, allocations: 19.89 kB / 432.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006445/0.3118, allocations: 280.3 kB / 432.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3118, allocations: 0 / 432.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.3118, allocations: 11.66 kB / 432.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3118, allocations: 5.25 kB / 432.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.3126, allocations: 246.9 kB / 432.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.314, allocations: 0.9499 MB / 433.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008407/0.3148, allocations: 229.7 kB / 434.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.3151, allocations: 97.34 kB / 434.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3152, allocations: 1.156 kB / 434.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/0.3156, allocations: 187.1 kB / 434.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.3156, allocations: 0 / 434.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002423/0.318, allocations: 0.6522 MB / 435 MB, free: 6.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.3181, allocations: 106.1 kB / 435.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.3184, allocations: 274 kB / 435.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.3184, allocations: 31.72 kB / 435.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.3185, allocations: 179.9 kB / 435.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.3185, allocations: 45.86 kB / 435.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/0.3186, allocations: 56.33 kB / 435.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.389e-05/0.3187, allocations: 333.9 kB / 436.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.319, allocations: 98.84 kB / 436.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.3194, allocations: 179.5 kB / 436.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/0.3201, allocations: 287 kB / 436.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.3201, allocations: 1.344 kB / 436.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001264/0.3214, allocations: 447.8 kB / 437 MB, free: 5.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.3214, allocations: 38.62 kB / 437.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.3214, allocations: 2.188 kB / 437.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004179/0.3219, allocations: 79.83 kB / 437.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.3221, allocations: 46.7 kB / 437.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.3248, allocations: 2.011 MB / 439.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.3251, allocations: 51.41 kB / 439.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.3251, allocations: 11.78 kB / 439.3 MB, free: 3.777 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.0001407/0.3253, allocations: 135.7 kB / 439.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.3253, allocations: 23.33 kB / 439.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.3254, allocations: 32.23 kB / 439.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3254, allocations: 2.281 kB / 439.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3254, allocations: 0.75 kB / 439.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3254, allocations: 5.594 kB / 439.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.3256, allocations: 294.7 kB / 439.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3256, allocations: 1.031 kB / 439.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.3258, allocations: 22.16 kB / 439.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/0.3261, allocations: 78.66 kB / 439.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3261, allocations: 9.484 kB / 439.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.3282, allocations: 1.912 MB / 441.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3282, allocations: 5.672 kB / 441.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.3293, allocations: 366.9 kB / 442.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.3293, allocations: 100.6 kB / 442.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.3294, allocations: 11.05 kB / 442.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.3296, allocations: 36 kB / 442.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/0.3297, allocations: 21.88 kB / 442.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3297, allocations: 8.203 kB / 442.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.3299, allocations: 191.6 kB / 442.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3299, allocations: 0 / 442.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004321/0.3303, allocations: 72.16 kB / 442.6 MB, free: 1.621 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.001251/0.3316, allocations: 0.8954 MB / 443.5 MB, free: 1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.3329, allocations: 472.5 kB / 443.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3329, allocations: 0.5 kB / 443.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.3334, allocations: 228.2 kB / 444.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3338, allocations: 47.94 kB / 444.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007555/0.3414, allocations: 3.429 MB / 447.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.3417, allocations: 0.7542 MB / 448.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.3419, allocations: 26.27 kB / 448.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.342, allocations: 74.11 kB / 448.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.342, allocations: 0 / 448.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/0.3845, allocations: 6.427 MB / 454.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.85, allocations: 9.297 kB / 454.9 MB, free: 12.54 MB / 366.1 MB " [Timeout remaining time 648] (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.331252920004772] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 11.945534468992264 11.960863354 11.648762533 Calling exit ...