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.002065/0.002065, allocations: 124.4 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.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.002595/0.002595, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.431/1.431, allocations: 230.6 MB / 254.1 MB, free: 15.11 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 51.91 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09643/0.0981, allocations: 53.33 MB / 426.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004554/0.1027, allocations: 2.785 MB / 429.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1042, allocations: 0.7128 MB / 429.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.1044, allocations: 4 kB / 429.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.1047, allocations: 47.56 kB / 429.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.105, allocations: 91.19 kB / 430 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.1053, allocations: 95.83 kB / 430.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004824/0.1058, allocations: 366.5 kB / 430.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.106, allocations: 52.72 kB / 430.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.1062, allocations: 139.5 kB / 430.6 MB, free: 468 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.1064, allocations: 147.4 kB / 430.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.1065, allocations: 31.94 kB / 430.8 MB, free: 288 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.77e-05/0.1065, allocations: 32 kB / 430.8 MB, free: 256 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.1066, allocations: 63.75 kB / 430.9 MB, free: 192 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1068, allocations: 143.3 kB / 431 MB, free: 48 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1954/0.3022, allocations: 323.6 kB / 431.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3022, allocations: 0 / 431.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3022, allocations: 1.688 kB / 431.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.3022, allocations: 0.9688 kB / 431.4 MB, free: 7.992 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.001361/0.3036, allocations: 0.6524 MB / 432 MB, free: 7.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3036, allocations: 10.03 kB / 432 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.659e-05/0.3037, allocations: 57.89 kB / 432.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.689e-05/0.3037, allocations: 31.81 kB / 432.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.3042, allocations: 275.1 kB / 432.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.3042, allocations: 14.41 kB / 432.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.3042, allocations: 21.72 kB / 432.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.3049, allocations: 284.3 kB / 432.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3049, allocations: 0 / 432.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.3049, allocations: 10.09 kB / 432.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3049, allocations: 6.531 kB / 432.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007295/0.3056, allocations: 241.3 kB / 432.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.307, allocations: 0.9477 MB / 433.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008073/0.3078, allocations: 234.9 kB / 434.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.3081, allocations: 99.53 kB / 434.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.3081, allocations: 1.25 kB / 434.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004567/0.3086, allocations: 183.9 kB / 434.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.3086, allocations: 4.469 kB / 434.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002339/0.3109, allocations: 0.6473 MB / 435 MB, free: 6.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.311, allocations: 110.1 kB / 435.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.3112, allocations: 277 kB / 435.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3113, allocations: 27.2 kB / 435.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.3113, allocations: 180.9 kB / 435.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.3114, allocations: 44.45 kB / 435.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.3115, allocations: 50.16 kB / 435.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.3115, allocations: 337.2 kB / 436.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.3119, allocations: 102.8 kB / 436.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.3122, allocations: 183.9 kB / 436.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.3129, allocations: 280.9 kB / 436.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3129, allocations: 1.031 kB / 436.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001194/0.3141, allocations: 449.4 kB / 437 MB, free: 5.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.3141, allocations: 33.64 kB / 437.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.3141, allocations: 2.562 kB / 437.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003732/0.3145, allocations: 86.28 kB / 437.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.3147, allocations: 39.34 kB / 437.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.3171, allocations: 2.012 MB / 439.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.3175, allocations: 47.3 kB / 439.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.3175, allocations: 8.828 kB / 439.3 MB, free: 3.777 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.0001194/0.3176, allocations: 144.9 kB / 439.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.3177, allocations: 23.44 kB / 439.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.3177, allocations: 31.38 kB / 439.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3177, allocations: 1.094 kB / 439.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.3177, allocations: 1.125 kB / 439.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3177, allocations: 2.141 kB / 439.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.318, allocations: 299.4 kB / 439.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.318, allocations: 0.875 kB / 439.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.3181, allocations: 25.22 kB / 439.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002726/0.3184, allocations: 74.19 kB / 439.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.3184, allocations: 5.578 kB / 439.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.3204, allocations: 1.919 MB / 441.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3204, allocations: 4.547 kB / 441.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.3215, allocations: 367 kB / 442.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.3215, allocations: 104.4 kB / 442.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.3215, allocations: 2.656 kB / 442.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.3218, allocations: 34.89 kB / 442.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.3219, allocations: 19.62 kB / 442.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.3219, allocations: 7.297 kB / 442.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001811/0.3221, allocations: 197.9 kB / 442.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3221, allocations: 0 / 442.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.3225, allocations: 70.92 kB / 442.6 MB, free: 1.621 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.001226/0.3237, allocations: 0.8956 MB / 443.5 MB, free: 1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.3252, allocations: 466.9 kB / 443.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3252, allocations: 4.688 kB / 443.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007628/0.326, allocations: 226.6 kB / 444.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.3265, allocations: 59.94 kB / 444.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.3377, allocations: 3.433 MB / 447.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.3382, allocations: 0.75 MB / 448.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.3385, allocations: 28.34 kB / 448.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.3386, allocations: 74.12 kB / 448.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of SimCode: time 1.123e-06/0.3387, allocations: 0 / 448.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03784/0.3765, allocations: 6.417 MB / 454.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.96, allocations: 9.172 kB / 454.9 MB, free: 12.54 MB / 366.1 MB " [Timeout remaining time 648] (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.301422452088445] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.055198582122102 12.069366732 11.764018759 Calling exit ...