Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.000886/0.000886, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008817/0.0008817, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8808/0.8808, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.674e-05, allocations: 6.219 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002812/0.002839, allocations: 2.624 MB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.003856, allocations: 0.666 MB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.00398, allocations: 7.938 kB / 327.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.004099, allocations: 43.52 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.004259, allocations: 107.2 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.004504, allocations: 79.89 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.004821, allocations: 374.1 kB / 328.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.004975, allocations: 60.83 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.005151, allocations: 195.5 kB / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.00527, allocations: 115.6 kB / 328.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.005306, allocations: 32 kB / 328.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.75e-05/0.005334, allocations: 28 kB / 328.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.005377, allocations: 63.75 kB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.595e-05/0.005463, allocations: 103.7 kB / 329 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.005744, allocations: 346.9 kB / 329.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.005747, allocations: 0 / 329.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005748, allocations: 0 / 329.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.005754, allocations: 0 / 329.4 MB, free: 11.01 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008116/0.006566, allocations: 0.5585 MB / 329.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.006605, allocations: 11.98 kB / 330 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.006651, allocations: 58.73 kB / 330 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.0067, allocations: 36.69 kB / 330 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.006984, allocations: 221.2 kB / 330.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.007001, allocations: 20.88 kB / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.007023, allocations: 16.38 kB / 330.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.007393, allocations: 321.7 kB / 330.6 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.007401, allocations: 192 / 330.6 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.007422, allocations: 16.11 kB / 330.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.007428, allocations: 4 kB / 330.6 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.007761, allocations: 225.8 kB / 330.9 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.008779, allocations: 0.8122 MB / 331.7 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.009146, allocations: 202.6 kB / 331.9 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.009283, allocations: 81.64 kB / 331.9 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.009303, allocations: 4 kB / 331.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.00958, allocations: 266.9 kB / 332.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.009581, allocations: 0 / 332.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009356/0.01052, allocations: 437.9 kB / 332.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.01057, allocations: 132.5 kB / 332.8 MB, free: 7.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.01076, allocations: 265.8 kB / 333 MB, free: 7.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.01078, allocations: 33.7 kB / 333.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.01087, allocations: 176.2 kB / 333.2 MB, free: 6.887 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.01089, allocations: 47.62 kB / 333.3 MB, free: 6.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.01095, allocations: 53.66 kB / 333.3 MB, free: 6.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.01104, allocations: 334.8 kB / 333.7 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.0112, allocations: 113.6 kB / 333.8 MB, free: 6.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.01141, allocations: 271.2 kB / 334 MB, free: 6.008 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.01171, allocations: 231.6 kB / 334.3 MB, free: 5.754 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01171, allocations: 0 / 334.3 MB, free: 5.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005021/0.01221, allocations: 408.4 kB / 334.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.01224, allocations: 33.69 kB / 334.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.01224, allocations: 4 kB / 334.7 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.01246, allocations: 76.73 kB / 334.8 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.575e-05/0.01256, allocations: 40 kB / 334.8 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.01384, allocations: 1.629 MB / 336.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.014, allocations: 55.77 kB / 336.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.01401, allocations: 8 kB / 336.5 MB, free: 3.355 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.01411, allocations: 133.8 kB / 336.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.01414, allocations: 27.92 kB / 336.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.01417, allocations: 34.33 kB / 336.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.01417, allocations: 0 / 336.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01417, allocations: 4 kB / 336.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01418, allocations: 3.938 kB / 336.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.01435, allocations: 244.6 kB / 336.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01435, allocations: 3.938 kB / 336.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.01441, allocations: 27.91 kB / 337 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001612/0.01458, allocations: 76.78 kB / 337 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.01459, allocations: 4 kB / 337 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.01571, allocations: 1.637 MB / 338.7 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01571, allocations: 3.984 kB / 338.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.01613, allocations: 297.5 kB / 339 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.01616, allocations: 27.8 kB / 339 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.01618, allocations: 8.188 kB / 339 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.01628, allocations: 35.89 kB / 339 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.01635, allocations: 31.84 kB / 339.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01636, allocations: 7.984 kB / 339.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001933/0.01656, allocations: 189.2 kB / 339.3 MB, free: 404 kB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01656, allocations: 0 / 339.3 MB, free: 404 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.01679, allocations: 75.95 kB / 339.3 MB, free: 328 kB / 298.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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006285/0.01742, allocations: 0.842 MB / 340.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005287/0.01794, allocations: 415.4 kB / 340.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01795, allocations: 0 / 340.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.01816, allocations: 227 kB / 340.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.01839, allocations: 47.91 kB / 340.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.02162, allocations: 3.039 MB / 343.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.997e-05/0.02171, allocations: 142.2 kB / 344 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.346e-05/0.02179, allocations: 30.42 kB / 344.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.02189, allocations: 76.48 kB / 344.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02189, allocations: 0 / 344.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.04448, allocations: 7.538 MB / 351.7 MB, free: 3.875 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/7.849, allocations: 8 kB / 351.7 MB, free: 3.867 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.552419326268137] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 7.942120153456926 7.953974227 7.945841047 Calling exit ...