Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 116.9 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 217.4 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+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 254.8 MB, free: 15.23 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 47.92 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1096, allocations: 53.34 MB / 427.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004335/0.1139, allocations: 2.783 MB / 429.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1152, allocations: 0.709 MB / 430.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.1153, allocations: 7.938 kB / 430.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.1155, allocations: 39.58 kB / 430.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.1157, allocations: 103.2 kB / 430.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.1159, allocations: 91.83 kB / 430.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.1164, allocations: 354.5 kB / 431.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1166, allocations: 56.72 kB / 431.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.1167, allocations: 143.4 kB / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.117, allocations: 151.4 kB / 431.5 MB, free: 284 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.117, allocations: 31.94 kB / 431.5 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.164e-05/0.1171, allocations: 32 kB / 431.6 MB, free: 220 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.1171, allocations: 59.75 kB / 431.6 MB, free: 160 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.1173, allocations: 151.3 kB / 431.8 MB, free: 8 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.1177, allocations: 326.6 kB / 432.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1177, allocations: 0 / 432.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1177, allocations: 0 / 432.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.1178, allocations: 0 / 432.1 MB, free: 15.69 MB / 366.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.001451/0.1192, allocations: 0.6532 MB / 432.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1192, allocations: 12.03 kB / 432.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.838e-05/0.1193, allocations: 4.625 kB / 432.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.407e-05/0.1193, allocations: 58.72 kB / 432.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.1194, allocations: 28.75 kB / 432.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.1198, allocations: 283.8 kB / 433.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/0.1198, allocations: 16.81 kB / 433.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.1199, allocations: 20.38 kB / 433.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.1205, allocations: 273.7 kB / 433.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1206, allocations: 4 kB / 433.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.1206, allocations: 12 kB / 433.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1206, allocations: 4 kB / 433.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007829/0.1214, allocations: 249.5 kB / 433.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.123, allocations: 0.9366 MB / 434.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008539/0.1239, allocations: 234.5 kB / 434.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.1242, allocations: 100.8 kB / 434.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.1242, allocations: 11.92 kB / 435 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005021/0.1247, allocations: 173.9 kB / 435.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.1247, allocations: 0 / 435.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.002419/0.1272, allocations: 0.6552 MB / 435.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.1272, allocations: 106.8 kB / 435.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.1276, allocations: 270.7 kB / 436.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.1276, allocations: 33.7 kB / 436.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.1277, allocations: 184 kB / 436.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.1278, allocations: 39.69 kB / 436.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.246e-05/0.1279, allocations: 49.66 kB / 436.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.128, allocations: 330.8 kB / 436.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.1284, allocations: 107.9 kB / 436.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.1288, allocations: 178.2 kB / 437 MB, free: 10.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.1296, allocations: 284.2 kB / 437.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1296, allocations: 0 / 437.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001263/0.1308, allocations: 447.7 kB / 437.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.1309, allocations: 37.7 kB / 437.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1309, allocations: 3.938 kB / 437.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003834/0.1313, allocations: 80.86 kB / 437.9 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.1315, allocations: 43.91 kB / 437.9 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/0.1346, allocations: 2.009 MB / 439.9 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.1349, allocations: 47.84 kB / 440 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.1349, allocations: 8 kB / 440 MB, free: 7.238 MB / 366.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.000181/0.1351, allocations: 149.8 kB / 440.1 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.1352, allocations: 23.8 kB / 440.2 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.1352, allocations: 25.83 kB / 440.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1352, allocations: 0 / 440.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1352, allocations: 0 / 440.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1352, allocations: 0 / 440.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.1355, allocations: 301.4 kB / 440.5 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1355, allocations: 0 / 440.5 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.1357, allocations: 23.98 kB / 440.5 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002919/0.136, allocations: 76.73 kB / 440.6 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.136, allocations: 3.984 kB / 440.6 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.1386, allocations: 1.927 MB / 442.5 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1386, allocations: 0 / 442.5 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.1397, allocations: 369.5 kB / 442.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.605e-05/0.1398, allocations: 92.97 kB / 443 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.1398, allocations: 11.98 kB / 443 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.1401, allocations: 27.97 kB / 443 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.1402, allocations: 23.91 kB / 443 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1402, allocations: 4 kB / 443 MB, free: 3.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.1404, allocations: 194 kB / 443.2 MB, free: 3.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1404, allocations: 4 kB / 443.2 MB, free: 3.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003992/0.1408, allocations: 75.89 kB / 443.3 MB, free: 3.691 MB / 366.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.001508/0.1423, allocations: 0.894 MB / 444.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.1437, allocations: 472.2 kB / 444.6 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1437, allocations: 8.125 kB / 444.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.1442, allocations: 230.5 kB / 444.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1445, allocations: 56.58 kB / 444.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1994/0.344, allocations: 3.417 MB / 448.4 MB, free: 23.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.3441, allocations: 0.7506 MB / 449.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.3443, allocations: 23.95 kB / 449.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3444, allocations: 74.97 kB / 449.2 MB, free: 22.7 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3444, allocations: 0 / 449.2 MB, free: 22.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.3763, allocations: 6.448 MB / 455.6 MB, free: 22.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.36, allocations: 13.16 kB / 455.7 MB, free: 22.23 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.83415236196015] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.504107008047868 12.517430067 12.397270964 Calling exit ...