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.001748/0.001748, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.002084/0.002084, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.352/1.352, allocations: 225.6 MB / 249.1 MB, free: 3.629 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 51.92 kB / 365.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.09116, allocations: 52.15 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004195/0.09535, allocations: 2.773 MB / 420.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.0965, allocations: 0.6662 MB / 421.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.09663, allocations: 7.938 kB / 421.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.09678, allocations: 43.58 kB / 421.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.09698, allocations: 99.25 kB / 421.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.09728, allocations: 95.8 kB / 421.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.09768, allocations: 350.6 kB / 421.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.09784, allocations: 61.41 kB / 421.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.098, allocations: 135.4 kB / 422 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.09819, allocations: 147.4 kB / 422.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.09824, allocations: 32 kB / 422.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.544e-05/0.09828, allocations: 32 kB / 422.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.754e-05/0.09835, allocations: 71.69 kB / 422.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.09849, allocations: 139.3 kB / 422.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.09886, allocations: 326.6 kB / 422.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.09887, allocations: 0 / 422.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09887, allocations: 0 / 422.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.09888, allocations: 0 / 422.8 MB, free: 7.609 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.001232/0.1001, allocations: 0.6455 MB / 423.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1001, allocations: 12.03 kB / 423.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.104e-05/0.1002, allocations: 54.72 kB / 423.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.1003, allocations: 36.75 kB / 423.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.1007, allocations: 287.8 kB / 423.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1007, allocations: 16.8 kB / 423.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.1007, allocations: 24.38 kB / 423.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.1014, allocations: 277.9 kB / 424.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1014, allocations: 4 kB / 424.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.1014, allocations: 8 kB / 424.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1014, allocations: 4 kB / 424.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.1021, allocations: 249.5 kB / 424.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.1037, allocations: 0.9522 MB / 425.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.1044, allocations: 230.5 kB / 425.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.1048, allocations: 96.78 kB / 425.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1048, allocations: 4 kB / 425.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004593/0.1052, allocations: 180.4 kB / 425.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.1052, allocations: 3.938 kB / 425.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002207/0.1075, allocations: 0.6552 MB / 426.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.1075, allocations: 106.8 kB / 426.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.1078, allocations: 274.5 kB / 426.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.1079, allocations: 29.7 kB / 426.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.108, allocations: 184.1 kB / 427.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.108, allocations: 47.64 kB / 427.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/0.1081, allocations: 37.72 kB / 427.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1083, allocations: 334.8 kB / 427.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.1086, allocations: 103.9 kB / 427.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.109, allocations: 186.8 kB / 427.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.1096, allocations: 282.1 kB / 428 MB, free: 1.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.1096, allocations: 4 kB / 428 MB, free: 1.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001169/0.1108, allocations: 445.4 kB / 428.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.1109, allocations: 37.69 kB / 428.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1109, allocations: 0 / 428.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.1112, allocations: 85.08 kB / 428.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.1114, allocations: 39.91 kB / 428.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.1143, allocations: 2.013 MB / 430.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.1147, allocations: 51.8 kB / 430.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.1147, allocations: 8 kB / 430.7 MB, free: 15.14 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.0001543/0.1148, allocations: 152 kB / 430.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.1149, allocations: 23.8 kB / 430.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.1149, allocations: 29.83 kB / 430.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1149, allocations: 0 / 430.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1149, allocations: 0 / 430.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1149, allocations: 3.984 kB / 430.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.1152, allocations: 289.5 kB / 431.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1152, allocations: 0 / 431.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.1153, allocations: 27.97 kB / 431.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000252/0.1156, allocations: 76.73 kB / 431.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1156, allocations: 4 kB / 431.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002534/0.1181, allocations: 1.931 MB / 433.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1181, allocations: 0 / 433.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/0.1191, allocations: 357.6 kB / 433.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.1192, allocations: 101 kB / 433.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.1193, allocations: 8 kB / 433.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.1195, allocations: 27.97 kB / 433.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.1196, allocations: 23.97 kB / 433.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1196, allocations: 4 kB / 433.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.1198, allocations: 194 kB / 433.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1198, allocations: 4 kB / 433.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.1202, allocations: 75.83 kB / 434 MB, free: 11.59 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.001391/0.1216, allocations: 0.8976 MB / 434.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.1228, allocations: 477.8 kB / 435.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1228, allocations: 4.438 kB / 435.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.1233, allocations: 226.5 kB / 435.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1236, allocations: 48.42 kB / 435.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006948/0.1305, allocations: 3.422 MB / 439.1 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1309, allocations: 0.7479 MB / 439.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.131, allocations: 22.3 kB / 439.8 MB, free: 5.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.1312, allocations: 75.41 kB / 439.9 MB, free: 5.449 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1312, allocations: 0 / 439.9 MB, free: 5.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2472/0.3783, allocations: 6.384 MB / 446.3 MB, free: 30.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.41, allocations: 6.938 kB / 446.3 MB, free: 30.84 MB / 366.1 MB " [Timeout remaining time 647] (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.6629627821967] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.501586752012372 12.523078899 12.420239501 Calling exit ...