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.0008789/0.0008789, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006167/0.006167, allocations: 171 kB / 16.26 MB, free: 6.613 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.456/1.456, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.704/1.704, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005161/0.0005161, allocations: 16.89 kB / 0.6743 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2429, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001671/0.2446, allocations: 1.215 MB / 0.7891 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.246, allocations: 0.7528 MB / 0.7898 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.246, allocations: 4 kB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.2461, allocations: 3.938 kB / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.2461, allocations: 3.938 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.2466, allocations: 99.77 kB / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.668e-05/0.2467, allocations: 63.78 kB / 0.79 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.2468, allocations: 23.97 kB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.406e-05/0.2469, allocations: 27.86 kB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.399e-05/0.247, allocations: 23.91 kB / 0.79 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.247, allocations: 4 kB / 0.79 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.2472, allocations: 91.84 kB / 0.7901 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.2472, allocations: 15.92 kB / 0.7901 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.252e-05/0.2473, allocations: 57.55 kB / 0.7902 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.2475, allocations: 127.9 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2476, allocations: 4 kB / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.326e-06/0.2476, allocations: 3.984 kB / 0.7903 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2476, allocations: 0 / 0.7903 GB, free: 9.066 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.0006156/0.2482, allocations: 426.8 kB / 0.7907 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2483, allocations: 8.031 kB / 0.7907 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.2483, allocations: 8.844 kB / 0.7907 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.2485, allocations: 180.2 kB / 0.7909 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.2485, allocations: 8.375 kB / 0.7909 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.2485, allocations: 12.36 kB / 0.7909 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.2487, allocations: 77.89 kB / 0.791 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2488, allocations: 0 / 0.791 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2488, allocations: 4 kB / 0.791 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2488, allocations: 0 / 0.791 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.2489, allocations: 43.97 kB / 0.7911 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/0.2495, allocations: 300.8 kB / 0.7913 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.2496, allocations: 50.5 kB / 0.7914 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.861e-05/0.2498, allocations: 40.97 kB / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2498, allocations: 0 / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.25, allocations: 79.38 kB / 0.7915 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.25, allocations: 0 / 0.7915 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004328/0.2505, allocations: 153.5 kB / 0.7917 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.2505, allocations: 55.34 kB / 0.7917 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2506, allocations: 121.8 kB / 0.7918 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.2507, allocations: 29.7 kB / 0.7919 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.2507, allocations: 92.16 kB / 0.7919 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.2507, allocations: 19.8 kB / 0.792 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.2508, allocations: 21.7 kB / 0.792 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2509, allocations: 322.8 kB / 0.7923 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.251, allocations: 23.98 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.2511, allocations: 69.5 kB / 0.7924 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.2513, allocations: 97.06 kB / 0.7925 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.2513, allocations: 4 kB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002337/0.2515, allocations: 125.4 kB / 0.7926 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2516, allocations: 7.938 kB / 0.7926 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2516, allocations: 0 / 0.7926 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2516, allocations: 4 kB / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.2517, allocations: 16.16 kB / 0.7926 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.2517, allocations: 3.984 kB / 0.7926 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.2518, allocations: 11.91 kB / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.2518, allocations: 0 / 0.7926 GB, free: 6.426 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 0.0001058/0.2519, allocations: 133.7 kB / 0.7928 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.2519, allocations: 4 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.252, allocations: 8.359 kB / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.252, allocations: 4 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.252, allocations: 0 / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.252, allocations: 0 / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.2524, allocations: 394.4 kB / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2525, allocations: 0 / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.2525, allocations: 7.938 kB / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2525, allocations: 4 kB / 0.7932 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.2525, allocations: 3.984 kB / 0.7932 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2525, allocations: 0 / 0.7932 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2525, allocations: 7.938 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.2528, allocations: 203.4 kB / 0.7934 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.2529, allocations: 85.14 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.2529, allocations: 11.98 kB / 0.7935 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.253, allocations: 4 kB / 0.7935 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.2531, allocations: 11.92 kB / 0.7935 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2531, allocations: 0 / 0.7935 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.204e-05/0.2531, allocations: 95.27 kB / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2531, allocations: 0 / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003068/0.2535, allocations: 36 kB / 0.7936 GB, free: 5.332 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.0003579/0.2538, allocations: 166.4 kB / 0.7938 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.2541, allocations: 71.89 kB / 0.7938 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2541, allocations: 320 / 0.7938 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.2542, allocations: 43.97 kB / 0.7939 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.2545, allocations: 15.92 kB / 0.7939 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.2549, allocations: 226.7 kB / 0.7941 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.2552, allocations: 0.6848 MB / 0.7948 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.2552, allocations: 7.984 kB / 0.7948 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.2552, allocations: 11.44 kB / 0.7948 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.2552, allocations: 0 / 0.7948 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of Templates: time 0.00383/0.2591, allocations: 1.348 MB / 0.7961 GB, free: 2.73 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: