Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.755/1.755, allocations: 287.5 MB / 302.6 MB, free: 8.176 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.001956/0.001956, allocations: 185.6 kB / 371.2 MB, free: 10.82 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.589/1.589, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0008827/0.0008826, allocations: 98.28 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005825/0.0005826, allocations: 15.59 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2021, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001528/0.2037, allocations: 1.214 MB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2049, allocations: 0.7306 MB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.205, allocations: 4 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.205, allocations: 7.922 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.437e-05/0.2051, allocations: 11.92 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.2055, allocations: 99.77 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.342e-05/0.2056, allocations: 75.7 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.2057, allocations: 8 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.79e-05/0.2058, allocations: 43.83 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.2059, allocations: 31.91 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.2059, allocations: 8 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.2061, allocations: 83.84 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.2061, allocations: 19.91 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.2061, allocations: 33.7 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.2063, allocations: 100 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2063, allocations: 0 / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2063, allocations: 4 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2063, allocations: 3.938 kB / 0.9811 GB, free: 25.69 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.0006399/0.2069, allocations: 450.7 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.207, allocations: 12.03 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.207, allocations: 8.844 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2072, allocations: 184.1 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.2072, allocations: 4.375 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.2072, allocations: 8.375 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.2074, allocations: 85.94 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2074, allocations: 4 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2074, allocations: 7.938 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2074, allocations: 0 / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.2075, allocations: 47.91 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.208, allocations: 324.6 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.2081, allocations: 66.55 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.2082, allocations: 32.84 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.2083, allocations: 4 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.2085, allocations: 99.39 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.2085, allocations: 0 / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003356/0.2088, allocations: 161.5 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.2088, allocations: 55.41 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.2089, allocations: 122.8 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2089, allocations: 37.7 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.209, allocations: 92.36 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.209, allocations: 23.86 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.209, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.2091, allocations: 326.8 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.481e-05/0.2091, allocations: 27.98 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-05/0.2092, allocations: 70.08 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.2094, allocations: 105.1 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2094, allocations: 3.938 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001967/0.2096, allocations: 133.4 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2096, allocations: 8 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2096, allocations: 0 / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2096, allocations: 4 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.2097, allocations: 20.11 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2097, allocations: 3.938 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.2098, allocations: 20.2 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2099, allocations: 8 kB / 0.9835 GB, free: 22.91 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 6.44e-05/0.2099, allocations: 121.8 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.21, allocations: 7.906 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.2102, allocations: 157.9 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2102, allocations: 0 / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2102, allocations: 0 / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2103, allocations: 4.078 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.2107, allocations: 446.2 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2107, allocations: 0 / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.2108, allocations: 15.98 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2108, allocations: 0 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2108, allocations: 0 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2108, allocations: 0 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2108, allocations: 3.938 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.211, allocations: 231.3 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.2111, allocations: 88.95 kB / 0.9846 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.2111, allocations: 4 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2112, allocations: 11.98 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.2113, allocations: 23.86 kB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.2113, allocations: 8 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.2113, allocations: 96.39 kB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2113, allocations: 0 / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002597/0.2116, allocations: 43.98 kB / 0.9847 GB, free: 21.57 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.0002797/0.2119, allocations: 149.1 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.2121, allocations: 91.83 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2121, allocations: 3.938 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.2122, allocations: 55.91 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.2125, allocations: 16.33 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.2128, allocations: 227.4 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.213, allocations: 0.6926 MB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.769e-05/0.213, allocations: 16.42 kB / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.213, allocations: 11.44 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.213, allocations: 0 / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.003581/0.2166, allocations: 1.624 MB / 0.9876 GB, free: 18.65 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)