Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 116.6 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 189 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 47.94 kB / 366.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1114, allocations: 52.14 MB / 418.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00469/0.1161, allocations: 2.762 MB / 421.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1175, allocations: 0.6777 MB / 422 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.1176, allocations: 11.94 kB / 422 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.1178, allocations: 43.58 kB / 422 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.118, allocations: 91.25 kB / 422.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.1183, allocations: 91.83 kB / 422.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.1188, allocations: 358.6 kB / 422.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.119, allocations: 53.42 kB / 422.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.1192, allocations: 147.4 kB / 422.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.1194, allocations: 151.4 kB / 422.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.1194, allocations: 31.94 kB / 422.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.003e-05/0.1195, allocations: 32 kB / 423 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.1195, allocations: 59.7 kB / 423 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1197, allocations: 147.3 kB / 423.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.1201, allocations: 330.6 kB / 423.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1201, allocations: 0 / 423.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1201, allocations: 0 / 423.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1201, allocations: 0 / 423.5 MB, free: 7.578 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.001372/0.1215, allocations: 0.6455 MB / 424.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1215, allocations: 12.03 kB / 424.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.84e-05/0.1216, allocations: 12.62 kB / 424.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.424e-05/0.1216, allocations: 54.72 kB / 424.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.1217, allocations: 36.75 kB / 424.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.1221, allocations: 287.8 kB / 424.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1221, allocations: 12.81 kB / 424.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.1222, allocations: 24.38 kB / 424.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.1228, allocations: 277.7 kB / 424.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1229, allocations: 0 / 424.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.1229, allocations: 8 kB / 424.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1229, allocations: 4 kB / 424.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007633/0.1237, allocations: 253.4 kB / 425.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.1253, allocations: 0.9405 MB / 426 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008328/0.1262, allocations: 238.5 kB / 426.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.1265, allocations: 92.78 kB / 426.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.1265, allocations: 7.938 kB / 426.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004625/0.127, allocations: 173.9 kB / 426.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.127, allocations: 0 / 426.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002388/0.1294, allocations: 0.6552 MB / 427.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.1295, allocations: 106.8 kB / 427.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.1298, allocations: 270.5 kB / 427.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.1298, allocations: 33.7 kB / 427.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.1299, allocations: 180.1 kB / 427.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.13, allocations: 47.62 kB / 427.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.1301, allocations: 49.7 kB / 427.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1302, allocations: 326.8 kB / 428.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.1306, allocations: 107.8 kB / 428.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.131, allocations: 182.8 kB / 428.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/0.1317, allocations: 278.1 kB / 428.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1317, allocations: 0 / 428.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001244/0.133, allocations: 453.9 kB / 429.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.133, allocations: 37.69 kB / 429.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.133, allocations: 3.938 kB / 429.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004077/0.1334, allocations: 89.06 kB / 429.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.1336, allocations: 39.91 kB / 429.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/0.1368, allocations: 2.009 MB / 431.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.1372, allocations: 55.86 kB / 431.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.1372, allocations: 8 kB / 431.4 MB, free: 15.11 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.0001793/0.1374, allocations: 147.8 kB / 431.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.1375, allocations: 23.8 kB / 431.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.1375, allocations: 25.83 kB / 431.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1375, allocations: 0 / 431.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1375, allocations: 0 / 431.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1375, allocations: 7.984 kB / 431.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.1379, allocations: 293.5 kB / 431.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1379, allocations: 0 / 431.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.138, allocations: 23.97 kB / 431.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/0.1383, allocations: 80.73 kB / 432 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1383, allocations: 7.938 kB / 432 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.1409, allocations: 1.924 MB / 433.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1409, allocations: 0 / 433.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.1421, allocations: 368.6 kB / 434.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/0.1422, allocations: 96.95 kB / 434.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.1422, allocations: 8 kB / 434.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.1425, allocations: 27.97 kB / 434.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.1426, allocations: 27.97 kB / 434.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.1426, allocations: 4 kB / 434.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.1428, allocations: 190 kB / 434.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1428, allocations: 0 / 434.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004312/0.1432, allocations: 75.89 kB / 434.7 MB, free: 11.56 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.001476/0.1447, allocations: 0.8901 MB / 435.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.1461, allocations: 485.7 kB / 436.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1461, allocations: 0 / 436.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.1466, allocations: 230.9 kB / 436.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1469, allocations: 44.48 kB / 436.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007495/0.1544, allocations: 3.426 MB / 439.8 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.1549, allocations: 0.748 MB / 440.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.155, allocations: 22.3 kB / 440.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1551, allocations: 79.41 kB / 440.6 MB, free: 5.41 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1551, allocations: 0 / 440.6 MB, free: 5.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2108/0.3659, allocations: 6.418 MB / 447 MB, free: 30.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.99, allocations: 9.953 kB / 447 MB, free: 30.64 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.436557793989778] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.135902370035183 12.147326098 12.024569525 Calling exit ...