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.001314/0.001314, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001439/0.001439, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001549/0.001549, allocations: 47.92 kB / 377.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2954, allocations: 53.35 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004547/0.2999, allocations: 2.811 MB / 434 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3013, allocations: 0.7167 MB / 434.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.3014, allocations: 4 kB / 434.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.3016, allocations: 51.5 kB / 434.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.3018, allocations: 95.19 kB / 434.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.302, allocations: 91.89 kB / 434.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.3025, allocations: 358.5 kB / 435.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.3027, allocations: 60.7 kB / 435.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.3028, allocations: 143.5 kB / 435.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.303, allocations: 147.3 kB / 435.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.224e-05/0.3031, allocations: 28 kB / 435.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.055e-05/0.3031, allocations: 32 kB / 435.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.3032, allocations: 63.7 kB / 435.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.3034, allocations: 151.3 kB / 435.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.3038, allocations: 328.5 kB / 436.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3038, allocations: 0 / 436.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3038, allocations: 0 / 436.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3038, allocations: 0 / 436.2 MB, free: 1.762 MB / 334.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.00133/0.3051, allocations: 0.5702 MB / 436.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.3052, allocations: 12.03 kB / 436.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.702e-05/0.3052, allocations: 50.73 kB / 436.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.642e-05/0.3053, allocations: 32.75 kB / 436.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.3057, allocations: 233.9 kB / 437.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.3057, allocations: 16.81 kB / 437.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.3058, allocations: 20.38 kB / 437.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.3064, allocations: 281.8 kB / 437.4 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3064, allocations: 0 / 437.4 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.3064, allocations: 8 kB / 437.4 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.3065, allocations: 8 kB / 437.4 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.3072, allocations: 241.6 kB / 437.7 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.3088, allocations: 0.9135 MB / 438.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000799/0.3096, allocations: 234.5 kB / 438.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.3099, allocations: 96.78 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3099, allocations: 4 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/0.3104, allocations: 177.7 kB / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3104, allocations: 0 / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002195/0.3126, allocations: 0.576 MB / 439.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/0.3127, allocations: 106.8 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.313, allocations: 281.8 kB / 440 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.313, allocations: 29.7 kB / 440.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3131, allocations: 184 kB / 440.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.3132, allocations: 43.67 kB / 440.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/0.3133, allocations: 45.66 kB / 440.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3134, allocations: 334.8 kB / 440.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.3138, allocations: 103.8 kB / 440.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/0.3142, allocations: 186.2 kB / 440.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/0.3148, allocations: 286 kB / 441.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3149, allocations: 4 kB / 441.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001174/0.316, allocations: 439.7 kB / 441.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.3161, allocations: 33.7 kB / 441.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3161, allocations: 4 kB / 441.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/0.3165, allocations: 84.73 kB / 441.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.3167, allocations: 44.03 kB / 441.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/0.3195, allocations: 1.894 MB / 443.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.3199, allocations: 52.03 kB / 443.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.3199, allocations: 12 kB / 443.8 MB, free: 9.734 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.0001572/0.32, allocations: 143.8 kB / 443.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.3201, allocations: 31.78 kB / 444 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/0.3201, allocations: 21.78 kB / 444 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3201, allocations: 4 kB / 444 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3201, allocations: 7.922 kB / 444 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3201, allocations: 4.031 kB / 444 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.3204, allocations: 264.5 kB / 444.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3204, allocations: 4 kB / 444.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.3206, allocations: 19.97 kB / 444.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000291/0.3209, allocations: 84.86 kB / 444.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3209, allocations: 4 kB / 444.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.3233, allocations: 1.812 MB / 446.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3233, allocations: 0 / 446.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3243, allocations: 359.8 kB / 446.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.3243, allocations: 27.8 kB / 446.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.3244, allocations: 8 kB / 446.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.3246, allocations: 31.97 kB / 446.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.3247, allocations: 19.95 kB / 446.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3247, allocations: 4 kB / 446.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.3249, allocations: 193.2 kB / 446.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3249, allocations: 0 / 446.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.3253, allocations: 63.94 kB / 446.9 MB, free: 6.465 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.001374/0.3267, allocations: 0.9073 MB / 447.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.3279, allocations: 461.9 kB / 448.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3279, allocations: 0 / 448.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004768/0.3284, allocations: 246.8 kB / 448.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3287, allocations: 54.97 kB / 448.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006981/0.3357, allocations: 3.433 MB / 451.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.336, allocations: 0.748 MB / 452.7 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.3361, allocations: 30.31 kB / 452.7 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.3363, allocations: 67.42 kB / 452.8 MB, free: 308 kB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3363, allocations: 0 / 452.8 MB, free: 308 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03834/0.3746, allocations: 6.567 MB / 459.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.97, allocations: 0 / 459.4 MB, free: 9.91 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: 15.410066073993221] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 13.087994163157418 13.115917688 12.807389809 Calling exit ...