Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.701/2.701, allocations: 287.5 MB / 302.4 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001371/0.001371, allocations: 181.3 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.231/2.231, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009556/0.0009555, allocations: 101.3 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008833/0.0008837, allocations: 16.97 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2355, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.0009968/0.2366, allocations: 477.7 kB / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.2376, allocations: 0.8564 MB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.2377, allocations: 3.938 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.2377, allocations: 3.984 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.414e-05/0.2378, allocations: 3.938 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.238, allocations: 31.97 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2382, allocations: 79.75 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2383, allocations: 19.98 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.2384, allocations: 27.92 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.418e-05/0.2385, allocations: 43.81 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.2385, allocations: 4 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.2385, allocations: 4 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.2386, allocations: 15.92 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.2386, allocations: 29.7 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.35e-05/0.2387, allocations: 67.84 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.2387, allocations: 0 / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2387, allocations: 0 / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2387, allocations: 0 / 0.9801 GB, free: 26.57 MB / 0.6198 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.0007277/0.2395, allocations: 387.3 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2395, allocations: 20.02 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.2396, allocations: 38.55 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.2396, allocations: 11.86 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.2398, allocations: 170.9 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2398, allocations: 8 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.2398, allocations: 4 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.2403, allocations: 117.6 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2403, allocations: 3.938 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.2404, allocations: 7.984 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2404, allocations: 4 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006289/0.241, allocations: 115.8 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.2416, allocations: 348.7 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.2427, allocations: 134.5 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.243, allocations: 64.75 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.2431, allocations: 4 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.2431, allocations: 34.52 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.2431, allocations: 0 / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001062/0.2442, allocations: 217.5 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.2442, allocations: 51.41 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2443, allocations: 121.8 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2444, allocations: 29.7 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.2444, allocations: 100 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.2445, allocations: 19.72 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.2445, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.141e-05/0.2446, allocations: 322.8 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.2449, allocations: 51.95 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.2452, allocations: 59.95 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.2455, allocations: 52.44 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2455, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007029/0.2462, allocations: 161.5 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2463, allocations: 11.95 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2463, allocations: 0 / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2463, allocations: 0 / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.2466, allocations: 31.91 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2466, allocations: 0 / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.2469, allocations: 23.97 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.2469, allocations: 7.938 kB / 0.9827 GB, free: 23.67 MB / 0.6198 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 (intLesEqu.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.984e-05/0.247, allocations: 115.2 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.2471, allocations: 3.906 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.2471, allocations: 24.31 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2471, allocations: 0 / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2471, allocations: 0 / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2471, allocations: 7.984 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.2474, allocations: 201.5 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2474, allocations: 4 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.2477, allocations: 27.97 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2477, allocations: 0 / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.2477, allocations: 3.984 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2477, allocations: 3.953 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2477, allocations: 3.938 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000743/0.2485, allocations: 255.4 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.2485, allocations: 81.11 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.2486, allocations: 4 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.2488, allocations: 15.98 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/0.2489, allocations: 23.92 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.249, allocations: 11.92 kB / 0.9834 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.249, allocations: 95.28 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.249, allocations: 0 / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003165/0.2494, allocations: 15.91 kB / 0.9836 GB, free: 22.7 MB / 0.6198 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 (intLesEqu.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.0009447/0.2503, allocations: 0.7866 MB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007042/0.251, allocations: 127.9 kB / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2511, allocations: 0 / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.2514, allocations: 75.88 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.2518, allocations: 15.12 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.2538, allocations: 0.6512 MB / 0.9852 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.2539, allocations: 0.6887 MB / 0.9858 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.2541, allocations: 16.17 kB / 0.9859 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.2542, allocations: 27.42 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.2542, allocations: 0 / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.2753, allocations: 2.257 MB / 0.9881 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.2756, allocations: 199.6 kB / 0.9883 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/2.962, allocations: 0 / 0.9883 GB, free: 17.85 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1)