Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007434/0.0007436, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008228/0.0008229, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005139, allocations: 14.53 kB / 0.6738 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2481, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.0008191/0.249, allocations: 485.3 kB / 0.7879 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008387/0.2499, allocations: 0.8683 MB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.2499, allocations: 0 / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.2499, allocations: 3.938 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.997e-05/0.25, allocations: 7.922 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.2502, allocations: 35.95 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.021e-05/0.2503, allocations: 67.84 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.2504, allocations: 19.98 kB / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.2504, allocations: 35.83 kB / 0.7889 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.2505, allocations: 39.83 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.2505, allocations: 4 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.2506, allocations: 7.938 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.2506, allocations: 15.97 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.2506, allocations: 37.64 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.321e-05/0.2507, allocations: 55.84 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2507, allocations: 4 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2507, allocations: 3.938 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.2507, allocations: 0 / 0.789 GB, free: 10.14 MB / 0.6075 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.0005386/0.2513, allocations: 391.3 kB / 0.7894 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2513, allocations: 8.031 kB / 0.7894 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.2514, allocations: 42.56 kB / 0.7895 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.2514, allocations: 7.906 kB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.2515, allocations: 182.8 kB / 0.7896 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.2516, allocations: 4 kB / 0.7897 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.2516, allocations: 8 kB / 0.7897 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.2519, allocations: 113.6 kB / 0.7898 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2519, allocations: 0 / 0.7898 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2519, allocations: 0 / 0.7898 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2519, allocations: 0 / 0.7898 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.2523, allocations: 123.9 kB / 0.7899 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.2527, allocations: 340.6 kB / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.2533, allocations: 130.6 kB / 0.7903 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.2535, allocations: 68.75 kB / 0.7904 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.2535, allocations: 4 kB / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.2535, allocations: 34.56 kB / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2535, allocations: 0 / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006168/0.2542, allocations: 217.5 kB / 0.7906 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.2542, allocations: 55.41 kB / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.2543, allocations: 125.7 kB / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2543, allocations: 29.7 kB / 0.7908 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.2544, allocations: 92.08 kB / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.2544, allocations: 19.7 kB / 0.791 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.2544, allocations: 11.94 kB / 0.791 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2545, allocations: 314.8 kB / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.2547, allocations: 55.89 kB / 0.7913 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.2549, allocations: 67.94 kB / 0.7914 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.255, allocations: 52.42 kB / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2551, allocations: 4 kB / 0.7914 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003846/0.2554, allocations: 165.5 kB / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2555, allocations: 4 kB / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2555, allocations: 0 / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2555, allocations: 3.953 kB / 0.7916 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.2557, allocations: 27.97 kB / 0.7916 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2557, allocations: 3.938 kB / 0.7916 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.2558, allocations: 23.98 kB / 0.7917 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2558, allocations: 3.984 kB / 0.7917 GB, free: 7.234 MB / 0.6075 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.209e-05/0.2559, allocations: 117.8 kB / 0.7918 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.2559, allocations: 7.906 kB / 0.7918 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.2564, allocations: 170 kB / 0.7919 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2564, allocations: 3.953 kB / 0.7919 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2564, allocations: 0 / 0.7919 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2564, allocations: 4 kB / 0.7919 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.2566, allocations: 205.5 kB / 0.7921 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2566, allocations: 0 / 0.7921 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2568, allocations: 27.97 kB / 0.7922 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2568, allocations: 3.938 kB / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2568, allocations: 7.984 kB / 0.7922 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2568, allocations: 0 / 0.7922 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2568, allocations: 3.953 kB / 0.7922 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.2572, allocations: 255.4 kB / 0.7924 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.2573, allocations: 85.02 kB / 0.7925 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.2573, allocations: 4 kB / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2575, allocations: 19.97 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.2576, allocations: 19.97 kB / 0.7926 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.2576, allocations: 7.953 kB / 0.7926 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.515e-05/0.2576, allocations: 99.2 kB / 0.7927 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2576, allocations: 0 / 0.7927 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002232/0.2579, allocations: 12 kB / 0.7927 GB, free: 6.102 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007458/0.2586, allocations: 0.7943 MB / 0.7934 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.259, allocations: 123.9 kB / 0.7936 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.259, allocations: 4 kB / 0.7936 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.2592, allocations: 79.88 kB / 0.7936 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.2595, allocations: 6.812 kB / 0.7936 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.2608, allocations: 0.6476 MB / 0.7943 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.2611, allocations: 0.6887 MB / 0.795 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.677e-05/0.2612, allocations: 16.17 kB / 0.795 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.2612, allocations: 27.42 kB / 0.795 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2612, allocations: 192 / 0.795 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.2739, allocations: 2.24 MB / 0.7972 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.2741, allocations: 199.7 kB / 0.7974 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.138, allocations: 3.625 kB / 0.7974 GB, free: 1.254 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) Environment - environmentSimulation: