Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001527/0.001527, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001839/0.001839, allocations: 212.3 kB / 24.51 MB, free: 3.914 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 47.92 kB / 378.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2935, allocations: 53.36 MB / 431.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004207/0.2977, allocations: 2.613 MB / 434.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.299, allocations: 0.6739 MB / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.2991, allocations: 7.938 kB / 435.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.2993, allocations: 39.58 kB / 435.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.2995, allocations: 99.25 kB / 435.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.2997, allocations: 103.8 kB / 435.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.3001, allocations: 346.6 kB / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3003, allocations: 60.89 kB / 435.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3005, allocations: 143.4 kB / 436 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.3007, allocations: 139.4 kB / 436.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.3007, allocations: 32 kB / 436.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.892e-05/0.3008, allocations: 32 kB / 436.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.222e-05/0.3009, allocations: 67.7 kB / 436.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.301, allocations: 123.4 kB / 436.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.3014, allocations: 325 kB / 436.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3014, allocations: 3.938 kB / 436.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3014, allocations: 0 / 436.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3014, allocations: 0 / 436.7 MB, free: 1.871 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.001221/0.3026, allocations: 0.5741 MB / 437.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3027, allocations: 12.03 kB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.3027, allocations: 4.625 kB / 437.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.278e-05/0.3027, allocations: 58.72 kB / 437.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.3028, allocations: 32.75 kB / 437.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.3032, allocations: 233.8 kB / 437.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3032, allocations: 12.81 kB / 437.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.3033, allocations: 24.38 kB / 437.6 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.3039, allocations: 325.1 kB / 437.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3039, allocations: 7.984 kB / 437.9 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.304, allocations: 7.984 kB / 437.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.304, allocations: 8 kB / 438 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007289/0.3047, allocations: 241.5 kB / 438.2 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.3063, allocations: 0.8473 MB / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008126/0.3071, allocations: 238.5 kB / 439.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.3074, allocations: 100.8 kB / 439.4 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3075, allocations: 3.938 kB / 439.4 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/0.308, allocations: 221.5 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.308, allocations: 7.938 kB / 439.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002246/0.3102, allocations: 0.576 MB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.3103, allocations: 106.8 kB / 440.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.3106, allocations: 265.8 kB / 440.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.3106, allocations: 29.7 kB / 440.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.3107, allocations: 180 kB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.3108, allocations: 47.67 kB / 440.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-05/0.3109, allocations: 45.66 kB / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.311, allocations: 330.8 kB / 441.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.3114, allocations: 133.6 kB / 441.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.3118, allocations: 245.6 kB / 441.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/0.3124, allocations: 264.3 kB / 441.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3124, allocations: 0 / 441.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001148/0.3136, allocations: 464 kB / 442.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/0.3136, allocations: 37.69 kB / 442.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.3136, allocations: 4 kB / 442.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003642/0.314, allocations: 84.86 kB / 442.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.3142, allocations: 39.91 kB / 442.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.3169, allocations: 1.828 MB / 444.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.3172, allocations: 51.8 kB / 444.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.3173, allocations: 15.94 kB / 444.3 MB, free: 9.742 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001762/0.3174, allocations: 151 kB / 444.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.3175, allocations: 27.8 kB / 444.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.3175, allocations: 25.77 kB / 444.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3176, allocations: 4 kB / 444.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.3176, allocations: 0 / 444.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.3176, allocations: 0 / 444.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.3178, allocations: 236.5 kB / 444.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.3178, allocations: 4 kB / 444.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.318, allocations: 24.09 kB / 444.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/0.3183, allocations: 84.73 kB / 444.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3183, allocations: 0 / 444.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.3206, allocations: 1.639 MB / 446.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3206, allocations: 0 / 446.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3216, allocations: 361.1 kB / 446.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.3217, allocations: 31.72 kB / 446.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3217, allocations: 7.938 kB / 446.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.322, allocations: 36.16 kB / 446.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.322, allocations: 19.95 kB / 446.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.322, allocations: 8 kB / 446.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.3222, allocations: 189.2 kB / 447.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3222, allocations: 0 / 447.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.3226, allocations: 71.89 kB / 447.2 MB, free: 6.664 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.00138/0.324, allocations: 0.8979 MB / 448.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.325, allocations: 423.6 kB / 448.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.325, allocations: 0 / 448.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.3255, allocations: 230.8 kB / 448.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3258, allocations: 62.31 kB / 448.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.331, allocations: 3.043 MB / 451.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.3311, allocations: 146.1 kB / 452 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.3312, allocations: 22.3 kB / 452 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.3314, allocations: 83.34 kB / 452.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3314, allocations: 0 / 452.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.363, allocations: 6.692 MB / 458.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.83, allocations: 12.06 kB / 458.8 MB, free: 11.05 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.205293383914977] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 13.002144784899428 13.017739436 12.713182921 Calling exit ...