Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, 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.001102/0.001102, allocations: 190.7 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.719/1.719, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.711/1.711, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001774/0.001774, allocations: 66.48 kB / 0.671 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2754, allocations: 114.6 MB / 0.7829 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002866/0.2783, allocations: 1.57 MB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2797, allocations: 0.7916 MB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.2798, allocations: 0 / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.2798, allocations: 3.984 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.71e-05/0.2799, allocations: 15.86 kB / 0.7852 GB, free: 11.54 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.0005099/0.2804, allocations: 107.8 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.2806, allocations: 87.7 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.2807, allocations: 12 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.267e-05/0.2808, allocations: 39.89 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.2808, allocations: 39.78 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.2808, allocations: 8 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.2811, allocations: 95.91 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.2811, allocations: 11.92 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.2811, allocations: 39.84 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.2814, allocations: 155.8 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2814, allocations: 0 / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2814, allocations: 4 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2814, allocations: 0 / 0.7857 GB, free: 10.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006945/0.2821, allocations: 454.6 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2822, allocations: 8.031 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.2822, allocations: 20.77 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.2824, allocations: 176.2 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2824, allocations: 4.375 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.2824, allocations: 8.375 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.2826, allocations: 81.89 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2826, allocations: 0 / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2826, allocations: 4 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-06/0.2827, allocations: 0 / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.2828, allocations: 39.97 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.2833, allocations: 324.7 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.2835, allocations: 70.56 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.2835, allocations: 32.84 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.2836, allocations: 0 / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.2838, allocations: 87.36 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.2838, allocations: 4 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003969/0.2842, allocations: 161.5 kB / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.2843, allocations: 51.41 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.2844, allocations: 137.7 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2845, allocations: 29.7 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.2845, allocations: 92.36 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.2845, allocations: 19.72 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.2846, allocations: 33.7 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2847, allocations: 331.1 kB / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.2848, allocations: 27.98 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.694e-05/0.2849, allocations: 64.88 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.2851, allocations: 101.1 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2851, allocations: 3.938 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002139/0.2853, allocations: 129.4 kB / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2853, allocations: 8.125 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2853, allocations: 4 kB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2853, allocations: 0 / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2854, allocations: 19.92 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2855, allocations: 4 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.745e-05/0.2856, allocations: 15.92 kB / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.2856, allocations: 4 kB / 0.7882 GB, free: 8.176 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: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.358e-05/0.2857, allocations: 125.7 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.2857, allocations: 15.89 kB / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.286, allocations: 142 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.286, allocations: 0 / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.286, allocations: 3.938 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.286, allocations: 0 / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.2866, allocations: 430.4 kB / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.2866, allocations: 4 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.929e-05/0.2867, allocations: 15.98 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2867, allocations: 0 / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.2867, allocations: 0 / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2867, allocations: 0 / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2867, allocations: 3.938 kB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.287, allocations: 239.4 kB / 0.7891 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.287, allocations: 89.05 kB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.2871, allocations: 7.984 kB / 0.7892 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2872, allocations: 11.98 kB / 0.7892 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.2872, allocations: 11.92 kB / 0.7892 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.2872, allocations: 4 kB / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.2873, allocations: 99.27 kB / 0.7893 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2873, allocations: 0 / 0.7893 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002963/0.2876, allocations: 43.98 kB / 0.7894 GB, free: 6.848 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: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0003182/0.2879, allocations: 161.5 kB / 0.7895 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.2882, allocations: 91.88 kB / 0.7896 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2882, allocations: 0 / 0.7896 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2883, allocations: 51.86 kB / 0.7897 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.2886, allocations: 16.23 kB / 0.7897 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.2891, allocations: 227.5 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.2894, allocations: 0.7041 MB / 0.7906 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.568e-05/0.2895, allocations: 4.438 kB / 0.7906 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.2895, allocations: 15.42 kB / 0.7906 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2895, allocations: 0 / 0.7906 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of Templates: time 0.00422/0.2937, allocations: 1.741 MB / 0.7923 GB, free: 3.812 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)