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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001277/0.001277, allocations: 196.6 kB / 16.26 MB, free: 6.617 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.556/1.556, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.657/1.657, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.002081/0.002082, allocations: 64.06 kB / 0.671 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2466, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003229/0.2498, allocations: 1.539 MB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2511, allocations: 0.7605 MB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.2512, allocations: 0 / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.2512, allocations: 7.938 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.2513, allocations: 7.922 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.252, allocations: 99.77 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.2522, allocations: 75.78 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2523, allocations: 15.94 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.2524, allocations: 35.91 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.2525, allocations: 23.91 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.2525, allocations: 4 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.2527, allocations: 103.8 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.2528, allocations: 15.92 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.2528, allocations: 31.86 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.2531, allocations: 131.9 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2531, allocations: 4 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2531, allocations: 4 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.2532, allocations: 0 / 0.7856 GB, free: 11.02 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.0007274/0.2539, allocations: 438.7 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2539, allocations: 12.03 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.254, allocations: 4.844 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.2542, allocations: 184.1 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.2542, allocations: 12.38 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.2542, allocations: 8.375 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.2545, allocations: 77.95 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2545, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.2545, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2545, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.2547, allocations: 35.97 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.2553, allocations: 304.7 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.2554, allocations: 46.56 kB / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/0.2555, allocations: 28.97 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.2555, allocations: 8.062 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.2558, allocations: 83.28 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.2558, allocations: 0 / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004254/0.2562, allocations: 137.6 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.2563, allocations: 51.41 kB / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.2564, allocations: 129.7 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2565, allocations: 25.7 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.2565, allocations: 96.06 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.2566, allocations: 19.8 kB / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.2566, allocations: 33.7 kB / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.2567, allocations: 318.8 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.869e-05/0.2568, allocations: 23.97 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.2569, allocations: 61.52 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.257, allocations: 93 kB / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2571, allocations: 0 / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002137/0.2573, allocations: 117.4 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2573, allocations: 8 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2573, allocations: 0 / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2573, allocations: 0 / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.2574, allocations: 19.98 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2574, allocations: 0 / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.2575, allocations: 11.94 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.2575, allocations: 0 / 0.7879 GB, free: 8.41 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.531e-05/0.2576, allocations: 130.8 kB / 0.788 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.2576, allocations: 7.906 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.2577, allocations: 12.36 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2577, allocations: 0 / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2577, allocations: 0 / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2577, allocations: 0 / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.2581, allocations: 378.4 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2581, allocations: 4 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.2582, allocations: 4 kB / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2582, allocations: 0 / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2582, allocations: 7.984 kB / 0.7884 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2582, allocations: 0 / 0.7884 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2582, allocations: 3.938 kB / 0.7884 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.2585, allocations: 207.4 kB / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.2585, allocations: 93 kB / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.2586, allocations: 3.938 kB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.2587, allocations: 8 kB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.2587, allocations: 7.922 kB / 0.7888 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.2587, allocations: 4 kB / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.241e-05/0.2588, allocations: 95.42 kB / 0.7888 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2588, allocations: 0 / 0.7888 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003173/0.2591, allocations: 39.94 kB / 0.7889 GB, free: 7.324 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.0003794/0.2595, allocations: 160.1 kB / 0.789 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.2598, allocations: 71.89 kB / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2598, allocations: 0 / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.2599, allocations: 40.22 kB / 0.7891 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.2602, allocations: 18.7 kB / 0.7892 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.2607, allocations: 204.3 kB / 0.7894 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.261, allocations: 0.6885 MB / 0.79 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.704e-05/0.261, allocations: 7.984 kB / 0.79 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.2611, allocations: 11.44 kB / 0.79 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2611, allocations: 0 / 0.79 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.004391/0.2655, allocations: 1.392 MB / 0.7914 GB, free: 4.703 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (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 & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)