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.001429/0.001429, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001574/0.001574, allocations: 219.8 kB / 22.92 MB, free: 5.535 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.294/1.294, allocations: 230.5 MB / 256.4 MB, free: 8.434 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.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.001796/0.001796, allocations: 67.83 kB / 376.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2076, allocations: 53.32 MB / 429.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00384/0.2114, allocations: 2.796 MB / 432.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2127, allocations: 0.7167 MB / 433 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.2128, allocations: 4 kB / 433 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.2129, allocations: 47.56 kB / 433 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.2131, allocations: 95.25 kB / 433.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.2134, allocations: 95.81 kB / 433.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.2138, allocations: 354.5 kB / 433.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.2139, allocations: 60.72 kB / 433.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.2141, allocations: 143.4 kB / 433.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.2143, allocations: 143.4 kB / 433.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.2143, allocations: 31.94 kB / 433.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.002e-05/0.2144, allocations: 28 kB / 433.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.2145, allocations: 71.8 kB / 434 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.2146, allocations: 143.2 kB / 434.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.215, allocations: 327.1 kB / 434.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.215, allocations: 0 / 434.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.215, allocations: 0 / 434.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.215, allocations: 0 / 434.5 MB, free: 2.371 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.001169/0.2162, allocations: 0.6455 MB / 435.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2162, allocations: 8.031 kB / 435.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.2163, allocations: 58.67 kB / 435.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.2163, allocations: 32.75 kB / 435.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.2167, allocations: 291.7 kB / 435.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.2167, allocations: 16.8 kB / 435.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.2168, allocations: 24.38 kB / 435.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006178/0.2174, allocations: 273.9 kB / 435.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2174, allocations: 0 / 435.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.2174, allocations: 12 kB / 435.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2174, allocations: 4 kB / 435.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.2182, allocations: 241.5 kB / 436.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.2197, allocations: 0.9444 MB / 437 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008027/0.2205, allocations: 234.5 kB / 437.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.2208, allocations: 97 kB / 437.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.2208, allocations: 7.938 kB / 437.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004509/0.2213, allocations: 173.8 kB / 437.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.2213, allocations: 0 / 437.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002256/0.2235, allocations: 0.6622 MB / 438.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.2236, allocations: 106.8 kB / 438.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.2239, allocations: 270.5 kB / 438.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.2239, allocations: 29.7 kB / 438.6 MB, free: 14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.224, allocations: 180.1 kB / 438.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.2241, allocations: 43.62 kB / 438.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.735e-05/0.2242, allocations: 49.59 kB / 438.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2243, allocations: 330.8 kB / 439.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.2246, allocations: 103.9 kB / 439.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.225, allocations: 168.5 kB / 439.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006709/0.2257, allocations: 260.4 kB / 439.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2257, allocations: 0 / 439.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001177/0.2269, allocations: 438.8 kB / 440.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.2269, allocations: 37.64 kB / 440.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2269, allocations: 0 / 440.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.2273, allocations: 80.86 kB / 440.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.2274, allocations: 39.91 kB / 440.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.23, allocations: 1.951 MB / 442.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.2303, allocations: 51.84 kB / 442.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.2303, allocations: 8 kB / 442.3 MB, free: 10.05 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.0001483/0.2305, allocations: 144.9 kB / 442.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.2305, allocations: 27.78 kB / 442.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.2306, allocations: 25.84 kB / 442.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2306, allocations: 0 / 442.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.2306, allocations: 0 / 442.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2306, allocations: 3.984 kB / 442.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.2309, allocations: 297.4 kB / 442.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2309, allocations: 0 / 442.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.231, allocations: 23.97 kB / 442.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002554/0.2313, allocations: 80.73 kB / 442.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.2313, allocations: 4 kB / 442.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.2335, allocations: 1.759 MB / 444.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2335, allocations: 64 / 444.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2346, allocations: 361.5 kB / 445 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.2346, allocations: 104.8 kB / 445.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.2347, allocations: 7.984 kB / 445.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.2349, allocations: 31.97 kB / 445.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.235, allocations: 19.97 kB / 445.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.235, allocations: 8 kB / 445.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.2352, allocations: 186 kB / 445.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2352, allocations: 0 / 445.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00033/0.2355, allocations: 79.81 kB / 445.4 MB, free: 6.676 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.001355/0.2369, allocations: 0.8863 MB / 446.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009225/0.2378, allocations: 406.1 kB / 446.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2378, allocations: 4.125 kB / 446.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.2382, allocations: 225.9 kB / 446.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.2385, allocations: 56.58 kB / 447 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.2433, allocations: 2.929 MB / 449.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.2437, allocations: 0.7518 MB / 450.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.673e-05/0.2437, allocations: 26.28 kB / 450.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.2439, allocations: 75.41 kB / 450.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2439, allocations: 0 / 450.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.2783, allocations: 6.394 MB / 457.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.78, allocations: 11.3 kB / 457.1 MB, free: 10.86 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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: 12.894729740997718]