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.InvertingSchmittTrigger.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.001275/0.001275, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00144/0.00144, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0-beta_om_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-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",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.001851/0.001851, allocations: 64.77 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2817, allocations: 53.38 MB / 432 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004184/0.2859, allocations: 2.8 MB / 434.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2872, allocations: 0.7206 MB / 435.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.2874, allocations: 7.938 kB / 435.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.2875, allocations: 39.58 kB / 435.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.2877, allocations: 91.25 kB / 435.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.288, allocations: 103.8 kB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.2884, allocations: 358.5 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.2886, allocations: 56.91 kB / 436.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.2887, allocations: 139.5 kB / 436.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.2889, allocations: 155.2 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.289, allocations: 28 kB / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.243e-05/0.289, allocations: 32 kB / 436.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.2891, allocations: 59.77 kB / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.2892, allocations: 151.2 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.2896, allocations: 327.5 kB / 437 MB, free: 1.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2896, allocations: 4 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2896, allocations: 0 / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2896, allocations: 0 / 437 MB, free: 1.812 MB / 334.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.001198/0.2908, allocations: 0.5702 MB / 437.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2909, allocations: 12.03 kB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.2909, allocations: 54.72 kB / 437.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.623e-05/0.291, allocations: 32.75 kB / 437.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.2914, allocations: 229.8 kB / 437.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.2914, allocations: 16.81 kB / 437.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.2914, allocations: 16.38 kB / 437.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.2921, allocations: 281.9 kB / 438.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2921, allocations: 0 / 438.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.2921, allocations: 15.98 kB / 438.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.2921, allocations: 4 kB / 438.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007161/0.2928, allocations: 245.5 kB / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.2944, allocations: 0.9057 MB / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.2951, allocations: 230.6 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.2954, allocations: 108.9 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.2955, allocations: 4 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004558/0.2959, allocations: 177.8 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2959, allocations: 0 / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002195/0.2981, allocations: 0.5794 MB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.2982, allocations: 106.8 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.2985, allocations: 269.8 kB / 440.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.2986, allocations: 33.7 kB / 440.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.2987, allocations: 192 kB / 441 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.2987, allocations: 35.69 kB / 441.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.2988, allocations: 49.66 kB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.299, allocations: 334.8 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.2993, allocations: 95.92 kB / 441.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.2997, allocations: 182.2 kB / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006754/0.3004, allocations: 282.1 kB / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3004, allocations: 4 kB / 442 MB, free: 12.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001169/0.3015, allocations: 447 kB / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.3016, allocations: 37.7 kB / 442.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3016, allocations: 12 kB / 442.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.302, allocations: 72.8 kB / 442.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.3022, allocations: 51.89 kB / 442.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002876/0.305, allocations: 1.89 MB / 444.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.3054, allocations: 59.98 kB / 444.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.3054, allocations: 12 kB / 444.6 MB, free: 9.785 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.0001688/0.3056, allocations: 141.7 kB / 444.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.3056, allocations: 27.8 kB / 444.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.221e-05/0.3057, allocations: 29.77 kB / 444.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3057, allocations: 4 kB / 444.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3057, allocations: 0 / 444.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3057, allocations: 0 / 444.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.306, allocations: 260.5 kB / 445 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.306, allocations: 3.938 kB / 445 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.3061, allocations: 23.97 kB / 445 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/0.3064, allocations: 84.73 kB / 445.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3064, allocations: 0 / 445.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/0.3088, allocations: 1.816 MB / 446.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3088, allocations: 4.109 kB / 447 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.3098, allocations: 357.6 kB / 447.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.3099, allocations: 27.8 kB / 447.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.31, allocations: 8 kB / 447.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.3102, allocations: 43.89 kB / 447.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.3103, allocations: 16.02 kB / 447.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3103, allocations: 7.984 kB / 447.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.3105, allocations: 193.2 kB / 447.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3105, allocations: 0 / 447.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.311, allocations: 67.94 kB / 447.7 MB, free: 6.504 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.00139/0.3123, allocations: 0.8941 MB / 448.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.3136, allocations: 469.8 kB / 449 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3136, allocations: 0 / 449 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004988/0.3141, allocations: 231 kB / 449.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.3145, allocations: 48.34 kB / 449.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007274/0.3218, allocations: 3.439 MB / 452.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.3221, allocations: 0.744 MB / 453.5 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.3223, allocations: 22.3 kB / 453.5 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3224, allocations: 83.34 kB / 453.6 MB, free: 364 kB / 350.1 MB Notification: Performance of SimCode: time 1.193e-06/0.3224, allocations: 4 kB / 453.6 MB, free: 360 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.3592, allocations: 6.519 MB / 460.1 MB, free: 9.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.2, allocations: 0 / 460.1 MB, free: 9.992 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.642751690000296] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.293018572963774 12.310204056 12.017159788 Calling exit ...