Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.00188/0.00188, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00198/0.00198, allocations: 215.7 kB / 23.04 MB, free: 5.078 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.172/3.172, allocations: 0.49 GB / 0.7959 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) 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(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 62.17 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3878, allocations: 176.1 MB / 1.327 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002128/0.3899, allocations: 0.7904 MB / 1.327 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.391, allocations: 0.9055 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.3911, allocations: 0 / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.3911, allocations: 7.922 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.933e-05/0.3912, allocations: 7.875 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.3914, allocations: 39.94 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3915, allocations: 87.77 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3916, allocations: 28.25 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.3917, allocations: 35.92 kB / 1.329 GB, free: 32 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.3918, allocations: 47.91 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.3918, allocations: 11.91 kB / 1.329 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.3918, allocations: 8 kB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.3918, allocations: 23.86 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.3919, allocations: 35.8 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.392, allocations: 87.66 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.392, allocations: 0 / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.974e-06/0.392, allocations: 0 / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.392, allocations: 0 / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006623/0.3927, allocations: 326 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3928, allocations: 12.03 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.555e-05/0.3928, allocations: 192 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.3928, allocations: 38.75 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.3928, allocations: 8.891 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.393, allocations: 134.3 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.393, allocations: 4.375 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.393, allocations: 7.938 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.3933, allocations: 108.5 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3934, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3934, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3934, allocations: 7.938 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.3938, allocations: 99.89 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.3943, allocations: 307.7 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.395, allocations: 114.5 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.3952, allocations: 56.88 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.3952, allocations: 7.922 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3952, allocations: 34.56 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3952, allocations: 0 / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007363/0.396, allocations: 185.5 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.396, allocations: 55.34 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3961, allocations: 117.8 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3962, allocations: 25.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.3962, allocations: 96.08 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.3963, allocations: 19.84 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.3963, allocations: 21.7 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3965, allocations: 322.8 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.3966, allocations: 47.95 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.3968, allocations: 47.89 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.3972, allocations: 96.77 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3972, allocations: 4 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004305/0.3976, allocations: 141.5 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3976, allocations: 4 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3976, allocations: 7.938 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3977, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.3978, allocations: 23.97 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3978, allocations: 8.422 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.398, allocations: 23.92 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.398, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.3981, allocations: 114.4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.3981, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.3986, allocations: 157.9 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3986, allocations: 4 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3986, allocations: 3.938 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3987, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.3989, allocations: 172.6 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3989, allocations: 4 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.3991, allocations: 27.91 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3991, allocations: 3.984 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3991, allocations: 4 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3991, allocations: 4 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3991, allocations: 3.938 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.3996, allocations: 231.4 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.3996, allocations: 11.94 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.3996, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.3998, allocations: 15.98 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.3999, allocations: 23.91 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.3999, allocations: 7.984 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.032e-05/0.4, allocations: 99.7 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002418/0.4002, allocations: 15.95 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008653/0.4011, allocations: 0.7656 MB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.4015, allocations: 103.8 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.4015, allocations: 8 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.4017, allocations: 55.94 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.4021, allocations: 13.5 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.4045, allocations: 1.537 MB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.4048, allocations: 0.6885 MB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.615e-05/0.4049, allocations: 12 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/0.405, allocations: 35.34 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of SimCode: time 7.62e-07/0.405, allocations: 0 / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.4292, allocations: 2.875 MB / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.55, allocations: 10.5 kB / 1.338 GB, free: 6.113 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.450599504983984] Failed to read output from testmodel.py, exit status != 0: 11.717088404053356 11.743272213 11.346529585 Calling exit ...