Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.0008382/0.0008382, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004916/0.004916, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.47/1.47, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004394/0.0004394, allocations: 17.14 kB / 0.6744 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1659, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001312/0.1673, allocations: 1.227 MB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009743/0.1683, allocations: 0.7412 MB / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.1683, allocations: 0 / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.1683, allocations: 3.938 kB / 0.7899 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.1684, allocations: 15.91 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.1688, allocations: 107.7 kB / 0.79 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.1688, allocations: 63.78 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.511e-05/0.1689, allocations: 8 kB / 0.7901 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.342e-05/0.169, allocations: 31.84 kB / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.169, allocations: 27.91 kB / 0.7902 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.1691, allocations: 0 / 0.7902 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.1692, allocations: 95.84 kB / 0.7902 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.1692, allocations: 15.92 kB / 0.7903 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.1693, allocations: 53.56 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1695, allocations: 131.9 kB / 0.7904 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1695, allocations: 0 / 0.7904 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1695, allocations: 0 / 0.7904 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.1695, allocations: 0 / 0.7904 GB, free: 8.945 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004421/0.1699, allocations: 430.7 kB / 0.7908 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.17, allocations: 16.03 kB / 0.7909 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.17, allocations: 34.75 kB / 0.7909 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.17, allocations: 8.844 kB / 0.7909 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.499e-05/0.1701, allocations: 188.1 kB / 0.7911 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1702, allocations: 8.375 kB / 0.7911 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.1702, allocations: 4.375 kB / 0.7911 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1703, allocations: 69.78 kB / 0.7912 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-06/0.1704, allocations: 0 / 0.7912 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1704, allocations: 4 kB / 0.7912 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1704, allocations: 4 kB / 0.7912 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.1705, allocations: 43.97 kB / 0.7912 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.1709, allocations: 296.7 kB / 0.7915 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.171, allocations: 54.55 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.919e-05/0.1711, allocations: 36.97 kB / 0.7916 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1711, allocations: 0 / 0.7916 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.1713, allocations: 83.38 kB / 0.7917 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1713, allocations: 0 / 0.7917 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003497/0.1717, allocations: 153.5 kB / 0.7918 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.1717, allocations: 51.41 kB / 0.7919 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.1718, allocations: 125.7 kB / 0.792 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1718, allocations: 33.7 kB / 0.792 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.1718, allocations: 96.03 kB / 0.7921 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.1719, allocations: 11.91 kB / 0.7921 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.1719, allocations: 21.7 kB / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.172, allocations: 318.8 kB / 0.7924 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.1721, allocations: 23.98 kB / 0.7925 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.1722, allocations: 69.12 kB / 0.7925 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.1723, allocations: 101 kB / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1723, allocations: 3.938 kB / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002082/0.1725, allocations: 121.5 kB / 0.7927 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.1726, allocations: 8 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1726, allocations: 0 / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.1726, allocations: 7.984 kB / 0.7928 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.1727, allocations: 8 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1727, allocations: 7.938 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.1727, allocations: 11.89 kB / 0.7928 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.1727, allocations: 4 kB / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.26e-05/0.1728, allocations: 136.4 kB / 0.7929 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.1729, allocations: 0 / 0.7929 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.1729, allocations: 8.375 kB / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1729, allocations: 0 / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1729, allocations: 0 / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1729, allocations: 3.984 kB / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.1733, allocations: 398.3 kB / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1733, allocations: 0 / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.1733, allocations: 4 kB / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1734, allocations: 0 / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1734, allocations: 0 / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1734, allocations: 7.922 kB / 0.7933 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1734, allocations: 0 / 0.7933 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1736, allocations: 211.8 kB / 0.7935 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.1737, allocations: 89.05 kB / 0.7936 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.1737, allocations: 7.984 kB / 0.7936 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.1738, allocations: 7.938 kB / 0.7936 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.1738, allocations: 11.97 kB / 0.7936 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1738, allocations: 0 / 0.7936 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.1739, allocations: 95.27 kB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1739, allocations: 4 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002512/0.1741, allocations: 36 kB / 0.7938 GB, free: 5.156 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006427/0.1748, allocations: 0.8119 MB / 0.7946 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.175, allocations: 75.84 kB / 0.7946 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.175, allocations: 8.312 kB / 0.7946 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.1751, allocations: 39.97 kB / 0.7947 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.1753, allocations: 11.88 kB / 0.7947 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1766, allocations: 1.544 MB / 0.7962 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.1768, allocations: 0.688 MB / 0.7969 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.1769, allocations: 11.98 kB / 0.7969 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.1769, allocations: 15.44 kB / 0.7969 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.1769, allocations: 0 / 0.7969 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.135/1.312, allocations: 2.319 MB / 0.7992 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000379/1.313, allocations: 255.8 kB / 0.7994 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/3.241, allocations: 3.938 kB / 0.7994 GB, free: 15.38 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)