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.001445/0.001445, allocations: 118.6 kB / 18.5 MB, free: 4.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.001332/0.001332, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.439/1.439, allocations: 230.4 MB / 254.7 MB, free: 15.16 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.00257/0.00257, allocations: 71.83 kB / 373.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1227, allocations: 53.32 MB / 426.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004387/0.1271, allocations: 2.773 MB / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1285, allocations: 0.7207 MB / 430.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.1287, allocations: 7.938 kB / 430.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.1288, allocations: 43.52 kB / 430.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.1291, allocations: 87.27 kB / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1294, allocations: 99.8 kB / 430.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.1298, allocations: 354.5 kB / 431 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.13, allocations: 60.7 kB / 431.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.1302, allocations: 139.5 kB / 431.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.1305, allocations: 151.3 kB / 431.4 MB, free: 364 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.1305, allocations: 28 kB / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.983e-05/0.1306, allocations: 32 kB / 431.4 MB, free: 304 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.1306, allocations: 59.77 kB / 431.5 MB, free: 244 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.1308, allocations: 147.2 kB / 431.6 MB, free: 96 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2023/0.3331, allocations: 323.7 kB / 431.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3331, allocations: 0.9062 kB / 431.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3331, allocations: 0 / 431.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3331, allocations: 0.7188 kB / 431.9 MB, free: 7.973 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.001116/0.3342, allocations: 0.6519 MB / 432.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3343, allocations: 9.781 kB / 432.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.3343, allocations: 55.86 kB / 432.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.3344, allocations: 33.44 kB / 432.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.3347, allocations: 277.7 kB / 433 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.3347, allocations: 16.88 kB / 433 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.3348, allocations: 19.78 kB / 433 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005603/0.3353, allocations: 284.1 kB / 433.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3353, allocations: 0 / 433.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.3353, allocations: 7.438 kB / 433.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.3354, allocations: 4.938 kB / 433.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006572/0.336, allocations: 245.3 kB / 433.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.3372, allocations: 0.9449 MB / 434.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.3379, allocations: 233 kB / 434.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.3382, allocations: 97.33 kB / 434.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.3382, allocations: 2.844 kB / 434.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003816/0.3386, allocations: 180.8 kB / 435 MB, free: 6.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.3386, allocations: 0 / 435 MB, free: 6.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002013/0.3406, allocations: 0.649 MB / 435.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3407, allocations: 111.1 kB / 435.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.3409, allocations: 280.4 kB / 436 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3409, allocations: 30.66 kB / 436 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.341, allocations: 177.3 kB / 436.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.341, allocations: 44.23 kB / 436.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.3411, allocations: 55.16 kB / 436.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.042e-05/0.3412, allocations: 337.3 kB / 436.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.3415, allocations: 101.6 kB / 436.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.3418, allocations: 178.2 kB / 436.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.3424, allocations: 283.6 kB / 437.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3424, allocations: 0 / 437.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001063/0.3434, allocations: 447.7 kB / 437.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.3435, allocations: 34.39 kB / 437.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3435, allocations: 2.375 kB / 437.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/0.3438, allocations: 86.55 kB / 437.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.344, allocations: 42.33 kB / 437.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.3462, allocations: 2.008 MB / 439.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.3465, allocations: 54.05 kB / 439.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3465, allocations: 8.062 kB / 439.8 MB, free: 3.75 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.0001044/0.3466, allocations: 140.1 kB / 440 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.3467, allocations: 23.27 kB / 440 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.3467, allocations: 29.42 kB / 440 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3467, allocations: 1.766 kB / 440 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.3467, allocations: 1.188 kB / 440 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3467, allocations: 12.23 kB / 440 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.3469, allocations: 296.3 kB / 440.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3469, allocations: 0 / 440.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.3471, allocations: 21.77 kB / 440.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000244/0.3473, allocations: 78.59 kB / 440.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3473, allocations: 5.641 kB / 440.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.3492, allocations: 1.913 MB / 442.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3492, allocations: 5.062 kB / 442.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.3501, allocations: 370.2 kB / 442.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.3501, allocations: 106 kB / 442.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.3502, allocations: 2.016 kB / 442.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.3504, allocations: 34.22 kB / 442.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.3505, allocations: 25.08 kB / 442.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3505, allocations: 2.688 kB / 442.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.3507, allocations: 194.1 kB / 443.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3507, allocations: 0 / 443.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000375/0.351, allocations: 73.25 kB / 443.1 MB, free: 1.598 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.001104/0.3521, allocations: 0.8995 MB / 444 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.3532, allocations: 469.3 kB / 444.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3532, allocations: 0.5 kB / 444.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.3537, allocations: 226.3 kB / 444.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.354, allocations: 57.83 kB / 444.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006443/0.3604, allocations: 3.423 MB / 448.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.3608, allocations: 0.7511 MB / 449 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.3609, allocations: 27.89 kB / 449 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.3611, allocations: 73.72 kB / 449.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3611, allocations: 0 / 449.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/0.3961, allocations: 6.426 MB / 455.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.9, allocations: 5.219 kB / 455.5 MB, free: 12.73 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 & /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 --stepSize=0.001 --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: 14.246168282814324] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.002373695373535 12.022864779 11.685892053 Calling exit ...