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.001219/0.001219, allocations: 105.5 kB / 19.74 MB, free: 2.453 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.001353/0.001353, allocations: 222.2 kB / 22.92 MB, free: 5.195 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.263/1.263, allocations: 230.5 MB / 256.4 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 179] 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.00178/0.00178, allocations: 71.83 kB / 376.1 MB, free: 4.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2033, allocations: 53.31 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003764/0.2071, allocations: 2.796 MB / 432.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2082, allocations: 0.7245 MB / 433 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.2084, allocations: 8 kB / 433 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.2085, allocations: 39.58 kB / 433 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.2087, allocations: 95.19 kB / 433.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.2089, allocations: 91.83 kB / 433.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.2093, allocations: 362.5 kB / 433.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2094, allocations: 56.72 kB / 433.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.2096, allocations: 143.4 kB / 433.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.2098, allocations: 151.3 kB / 433.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.2098, allocations: 28 kB / 433.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.334e-05/0.2099, allocations: 32 kB / 433.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.2099, allocations: 55.83 kB / 434 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.2101, allocations: 151.2 kB / 434.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.2104, allocations: 327.1 kB / 434.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2104, allocations: 0 / 434.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2104, allocations: 0 / 434.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.2104, allocations: 0 / 434.5 MB, free: 2.391 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.001159/0.2116, allocations: 0.6532 MB / 435.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2116, allocations: 12.03 kB / 435.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.2117, allocations: 54.73 kB / 435.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.2117, allocations: 32.75 kB / 435.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.2121, allocations: 287.7 kB / 435.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2121, allocations: 16.81 kB / 435.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.2121, allocations: 16.38 kB / 435.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.2127, allocations: 281.9 kB / 435.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2127, allocations: 3.938 kB / 435.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.2128, allocations: 8 kB / 435.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2128, allocations: 8 kB / 435.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.2135, allocations: 245.6 kB / 436.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.215, allocations: 0.9366 MB / 437 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007971/0.2158, allocations: 234.5 kB / 437.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.2161, allocations: 101 kB / 437.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.2161, allocations: 3.938 kB / 437.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004443/0.2166, allocations: 184.7 kB / 437.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2166, allocations: 0 / 437.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002196/0.2188, allocations: 0.6513 MB / 438.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.2188, allocations: 106.8 kB / 438.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.2191, allocations: 282.5 kB / 438.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.2191, allocations: 25.7 kB / 438.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.2192, allocations: 184.1 kB / 438.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.2193, allocations: 39.69 kB / 438.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-05/0.2193, allocations: 53.66 kB / 438.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2195, allocations: 334.8 kB / 439.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.2198, allocations: 99.92 kB / 439.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.2202, allocations: 186.1 kB / 439.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006683/0.2209, allocations: 281 kB / 439.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2209, allocations: 0 / 439.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001162/0.222, allocations: 447.7 kB / 440.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.2221, allocations: 33.69 kB / 440.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2221, allocations: 4 kB / 440.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/0.2224, allocations: 80.86 kB / 440.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.2226, allocations: 43.91 kB / 440.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.2254, allocations: 2.005 MB / 442.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.2257, allocations: 55.94 kB / 442.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.2257, allocations: 12 kB / 442.4 MB, free: 9.93 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.0001687/0.2259, allocations: 140.7 kB / 442.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.2259, allocations: 27.8 kB / 442.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.226, allocations: 25.83 kB / 442.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.226, allocations: 4 kB / 442.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.226, allocations: 0 / 442.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.226, allocations: 3.984 kB / 442.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.2262, allocations: 293.5 kB / 442.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2262, allocations: 4 kB / 442.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.2264, allocations: 23.91 kB / 442.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.2266, allocations: 84.67 kB / 443 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.2267, allocations: 4 kB / 443 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/0.2291, allocations: 1.921 MB / 444.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2291, allocations: 0 / 444.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.2301, allocations: 365.5 kB / 445.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.2302, allocations: 101 kB / 445.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.2302, allocations: 0 / 445.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.2304, allocations: 36 kB / 445.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.2305, allocations: 23.97 kB / 445.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.2305, allocations: 4 kB / 445.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.2307, allocations: 198 kB / 445.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2307, allocations: 0 / 445.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.2311, allocations: 67.89 kB / 445.7 MB, free: 6.395 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.001367/0.2324, allocations: 0.8932 MB / 446.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.2336, allocations: 477.8 kB / 447 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2336, allocations: 0 / 447 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.2341, allocations: 226.5 kB / 447.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.2344, allocations: 52.84 kB / 447.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006879/0.2413, allocations: 3.434 MB / 450.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.2416, allocations: 0.7518 MB / 451.5 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.991e-05/0.2417, allocations: 22.3 kB / 451.5 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.2418, allocations: 75.41 kB / 451.6 MB, free: 248 kB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.2418, allocations: 0 / 451.6 MB, free: 248 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.2743, allocations: 6.405 MB / 458 MB, free: 9.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.73, allocations: 11.3 kB / 458 MB, free: 9.988 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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: 12.810964593998506]