Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.914/1.914, allocations: 288.3 MB / 303.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 182 kB / 371.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 98.91 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006542/0.0006543, allocations: 15.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2765, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001598/0.2782, allocations: 1.199 MB / 0.9806 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2795, allocations: 0.7462 MB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.2796, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.2796, allocations: 3.938 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.2797, allocations: 19.97 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.2802, allocations: 99.62 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2803, allocations: 43.94 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.2805, allocations: 19.97 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.2806, allocations: 27.86 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.2806, allocations: 39.83 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.2807, allocations: 8 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.2808, allocations: 63.94 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.2809, allocations: 19.91 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.2809, allocations: 33.7 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.2811, allocations: 99.98 kB / 0.9818 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2811, allocations: 4 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2811, allocations: 0 / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.2811, allocations: 0 / 0.9818 GB, free: 25.27 MB / 0.6198 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.0007133/0.2819, allocations: 450.5 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2819, allocations: 8.031 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.282, allocations: 7.906 kB / 0.9822 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2821, allocations: 190.8 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.2821, allocations: 8 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.2821, allocations: 4 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.2823, allocations: 73.64 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2824, allocations: 4 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2824, allocations: 4 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2824, allocations: 3.938 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.2825, allocations: 47.91 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.2831, allocations: 320.7 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.2832, allocations: 66.55 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.2833, allocations: 0 / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.2835, allocations: 95.39 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.2835, allocations: 4 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003724/0.2839, allocations: 161.5 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.284, allocations: 55.56 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.2841, allocations: 136.9 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2841, allocations: 29.7 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.2842, allocations: 92.36 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.2842, allocations: 27.7 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.2842, allocations: 4 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.702e-05/0.2843, allocations: 318.8 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.2843, allocations: 31.97 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-05/0.2844, allocations: 65.14 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.714e-05/0.2845, allocations: 39.92 kB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2845, allocations: 0 / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002024/0.2847, allocations: 141.5 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2847, allocations: 4 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.2848, allocations: 3.984 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2848, allocations: 4 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2849, allocations: 15.98 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2849, allocations: 3.938 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.285, allocations: 27.88 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.285, allocations: 4 kB / 0.9841 GB, free: 22.62 MB / 0.6198 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/0.2851, allocations: 123.3 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.2851, allocations: 7.906 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.2854, allocations: 149.9 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2854, allocations: 4 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2854, allocations: 7.875 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2854, allocations: 3.984 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.2859, allocations: 434.3 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2859, allocations: 0 / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.223e-05/0.286, allocations: 11.98 kB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.286, allocations: 0 / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.286, allocations: 8 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.286, allocations: 4 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.286, allocations: 3.953 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.2862, allocations: 227.3 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.2863, allocations: 84.95 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.2863, allocations: 4 kB / 0.9851 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2864, allocations: 19.98 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.2865, allocations: 15.88 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.2865, allocations: 8 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.2866, allocations: 99.27 kB / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2866, allocations: 0 / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002845/0.2869, allocations: 39.98 kB / 0.9853 GB, free: 21.29 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003338/0.2872, allocations: 165.3 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.2874, allocations: 91.83 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2875, allocations: 0 / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/0.2876, allocations: 52.17 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.2878, allocations: 15.92 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.2882, allocations: 229.5 kB / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2883, allocations: 0.7004 MB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.474e-05/0.2884, allocations: 4.438 kB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.2884, allocations: 19.42 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2884, allocations: 7.938 kB / 0.9866 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.003833/0.2923, allocations: 1.615 MB / 0.9881 GB, free: 18.36 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)