Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00121/0.00121, allocations: 189 kB / 16.25 MB, free: 6.625 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.463/1.463, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.681/1.681, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.0013/0.0013, allocations: 64.8 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2632, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003165/0.2664, allocations: 1.55 MB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2678, allocations: 0.7527 MB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.2678, allocations: 0 / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.2679, allocations: 3.938 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.621e-05/0.268, allocations: 19.91 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.0006271/0.2686, allocations: 95.78 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2687, allocations: 79.77 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.2688, allocations: 11.94 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.2689, allocations: 23.92 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.269, allocations: 39.89 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.269, allocations: 7.938 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.2692, allocations: 99.84 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.2693, allocations: 15.92 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.2693, allocations: 31.86 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.2696, allocations: 135.9 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2696, allocations: 0 / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2696, allocations: 0 / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2696, allocations: 4 kB / 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.0005974/0.2702, allocations: 438.7 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2702, allocations: 8.031 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.2703, allocations: 8.844 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2704, allocations: 184.1 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.2704, allocations: 8.375 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.2705, allocations: 4.375 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2707, allocations: 69.95 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.2707, allocations: 4 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2707, allocations: 4 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2707, allocations: 4 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.2708, allocations: 39.95 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.2714, allocations: 296.7 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.2715, allocations: 46.56 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.036e-05/0.2716, allocations: 32.97 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.2716, allocations: 4 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.2718, allocations: 79.28 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.2718, allocations: 0 / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000382/0.2722, allocations: 141.6 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.2723, allocations: 55.41 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.2724, allocations: 125.7 kB / 0.7871 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.2724, allocations: 29.7 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.2725, allocations: 96.06 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.2725, allocations: 11.81 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.2725, allocations: 29.7 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2726, allocations: 318.8 kB / 0.7876 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.2727, allocations: 23.98 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.2728, allocations: 65.06 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.273, allocations: 93.02 kB / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.273, allocations: 0 / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002173/0.2732, allocations: 113.4 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2732, allocations: 7.984 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2732, allocations: 4 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2733, allocations: 4.156 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.2733, allocations: 12 kB / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2734, allocations: 3.938 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.2734, allocations: 11.98 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2734, allocations: 4 kB / 0.7879 GB, free: 8.418 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 9.656e-05/0.2735, allocations: 130.3 kB / 0.788 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.2736, allocations: 7.906 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.2736, allocations: 12.36 kB / 0.7881 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2736, allocations: 4 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2736, allocations: 0 / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2736, allocations: 0 / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.274, allocations: 382.7 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2741, allocations: 0 / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.2741, allocations: 4 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.2741, allocations: 0 / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.2741, allocations: 11.98 kB / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2742, allocations: 4 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2742, allocations: 4.016 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.2744, allocations: 203.4 kB / 0.7887 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.2745, allocations: 85.02 kB / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.2745, allocations: 3.984 kB / 0.7887 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.2746, allocations: 4 kB / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.2747, allocations: 15.95 kB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.2747, allocations: 8 kB / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.895e-05/0.2747, allocations: 95.2 kB / 0.7889 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2747, allocations: 0 / 0.7889 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000321/0.2751, 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.0003268/0.2754, allocations: 157.4 kB / 0.789 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.2756, allocations: 75.89 kB / 0.7891 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2757, allocations: 0 / 0.7891 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.886e-05/0.2758, allocations: 43.91 kB / 0.7892 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.0002612/0.276, allocations: 11.98 kB / 0.7892 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004184/0.2765, allocations: 197.2 kB / 0.7894 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.2767, allocations: 0.6885 MB / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.2768, allocations: 4 kB / 0.79 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.2768, allocations: 11.42 kB / 0.79 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.2768, allocations: 8 kB / 0.7901 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of Templates: time 0.003969/0.2808, allocations: 1.383 MB / 0.7914 GB, free: 4.715 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)