Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001783/0.001783, allocations: 120.2 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002196/0.002196, allocations: 205 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 230.5 MB / 254.8 MB, free: 15.11 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 75.81 kB / 373.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1136, allocations: 53.33 MB / 427.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004114/0.1177, allocations: 2.779 MB / 429.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.119, allocations: 0.709 MB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1191, allocations: 7.938 kB / 430.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1193, allocations: 47.56 kB / 430.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1195, allocations: 87.25 kB / 430.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1198, allocations: 99.83 kB / 430.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.1202, allocations: 358.5 kB / 431.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.1203, allocations: 56.72 kB / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1205, allocations: 139.4 kB / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.1207, allocations: 151.4 kB / 431.5 MB, free: 284 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.364e-05/0.1208, allocations: 35.94 kB / 431.5 MB, free: 248 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.774e-05/0.1208, allocations: 28 kB / 431.5 MB, free: 220 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.1209, allocations: 51.83 kB / 431.6 MB, free: 168 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.121, allocations: 151.2 kB / 431.7 MB, free: 16 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2059/0.3269, allocations: 327.8 kB / 432 MB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3269, allocations: 0 / 432 MB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3269, allocations: 0 / 432 MB, free: 7.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3269, allocations: 1.031 kB / 432 MB, free: 7.98 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.001125/0.328, allocations: 0.6456 MB / 432.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3281, allocations: 9.5 kB / 432.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/0.3281, allocations: 57.31 kB / 432.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/0.3282, allocations: 32.41 kB / 432.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.3285, allocations: 279.9 kB / 433.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.3286, allocations: 13.12 kB / 433.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.3286, allocations: 20.69 kB / 433.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.3292, allocations: 283.2 kB / 433.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3292, allocations: 1.25 kB / 433.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.3292, allocations: 10.47 kB / 433.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3292, allocations: 8.312 kB / 433.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/0.33, allocations: 246 kB / 433.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.3313, allocations: 0.9462 MB / 434.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007959/0.3321, allocations: 234.6 kB / 434.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.3324, allocations: 94 kB / 434.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3324, allocations: 2.375 kB / 434.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004324/0.3328, allocations: 181.4 kB / 435.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.973e-06/0.3328, allocations: 1.125 kB / 435.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002388/0.3352, allocations: 0.6556 MB / 435.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3353, allocations: 107.3 kB / 435.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.3356, allocations: 263 kB / 436.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3356, allocations: 31.33 kB / 436.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3357, allocations: 181.7 kB / 436.3 MB, free: 6.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.3357, allocations: 42.59 kB / 436.3 MB, free: 6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.3358, allocations: 46.84 kB / 436.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.3359, allocations: 336.8 kB / 436.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.3362, allocations: 95.69 kB / 436.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.3366, allocations: 171.2 kB / 437 MB, free: 5.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.3373, allocations: 276.2 kB / 437.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3373, allocations: 2.062 kB / 437.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001237/0.3385, allocations: 430 kB / 437.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.3386, allocations: 36.38 kB / 437.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3386, allocations: 2.406 kB / 437.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.339, allocations: 78 kB / 437.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.3392, allocations: 44.89 kB / 437.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.3415, allocations: 1.945 MB / 439.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.3418, allocations: 58.91 kB / 439.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.3419, allocations: 13.27 kB / 439.8 MB, free: 3.805 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001406/0.342, allocations: 138.4 kB / 440 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.342, allocations: 22.48 kB / 440 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.3421, allocations: 30.94 kB / 440 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3421, allocations: 1.281 kB / 440 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.3421, allocations: 4 kB / 440 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3421, allocations: 1.766 kB / 440 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.3424, allocations: 291.7 kB / 440.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3424, allocations: 2.875 kB / 440.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.3425, allocations: 23.73 kB / 440.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/0.3428, allocations: 81.8 kB / 440.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.3428, allocations: 6.328 kB / 440.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.3448, allocations: 1.759 MB / 442.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3448, allocations: 0 / 442.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3458, allocations: 358 kB / 442.5 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.3459, allocations: 101.6 kB / 442.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.3459, allocations: 5.562 kB / 442.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.3462, allocations: 38.33 kB / 442.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.3463, allocations: 20.27 kB / 442.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.3463, allocations: 3.781 kB / 442.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.3465, allocations: 191.7 kB / 442.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3465, allocations: 0 / 442.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003895/0.3469, allocations: 69.86 kB / 443 MB, free: 1.801 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.001272/0.3481, allocations: 0.895 MB / 443.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3492, allocations: 405.3 kB / 444.3 MB, free: 1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3492, allocations: 0 / 444.3 MB, free: 1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.3496, allocations: 233.8 kB / 444.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.35, allocations: 40.83 kB / 444.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.3552, allocations: 2.943 MB / 447.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.3556, allocations: 0.75 MB / 448.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.3558, allocations: 21.47 kB / 448.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3559, allocations: 72.44 kB / 448.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3559, allocations: 4 kB / 448.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.3921, allocations: 6.421 MB / 454.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.71, allocations: 8.078 kB / 454.7 MB, free: 12.94 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_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-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.157361280173063] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 11.801927654072642 11.826110816 11.494799037 Calling exit ...