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 2.732/2.732, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.002992/0.002992, allocations: 185 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.329/2.329, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001563/0.001562, allocations: 94.59 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000654/0.0006543, allocations: 16.28 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2185, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001759/0.2204, allocations: 1.203 MB / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.2219, allocations: 0.7464 MB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.885e-05/0.2219, allocations: 0 / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.222, allocations: 3.938 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2221, allocations: 15.95 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.2227, allocations: 103.6 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2228, allocations: 51.92 kB / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.2229, allocations: 4 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.223, allocations: 43.83 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.2231, allocations: 39.78 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.2231, allocations: 0 / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.2233, allocations: 67.92 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.2234, allocations: 19.92 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.2234, allocations: 37.7 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.2236, allocations: 96.03 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2236, allocations: 0 / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2236, allocations: 3.938 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2237, allocations: 0 / 0.9806 GB, free: 25.95 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.0007489/0.2244, allocations: 454.5 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2245, allocations: 12.03 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.2245, allocations: 11.86 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2246, allocations: 178.8 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.2247, allocations: 0 / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.2247, allocations: 8 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.2249, allocations: 73.66 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.225, allocations: 0 / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.225, allocations: 3.984 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.225, allocations: 4 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.2252, allocations: 47.91 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.2258, allocations: 324.7 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.226, allocations: 66.53 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.2261, allocations: 4 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.2264, allocations: 95.39 kB / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.404e-06/0.2264, allocations: 0 / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005477/0.227, allocations: 177.6 kB / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.227, allocations: 51.41 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2271, allocations: 131.1 kB / 0.9821 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2272, allocations: 29.7 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.2272, allocations: 88.38 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.2273, allocations: 23.7 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.2273, allocations: 8 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.12e-05/0.2273, allocations: 314.8 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.2275, allocations: 31.98 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2276, allocations: 66.25 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.2278, allocations: 39.92 kB / 0.9827 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.2278, allocations: 7.938 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003523/0.2281, allocations: 129.5 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2282, allocations: 14.3 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2282, allocations: 4 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.2282, allocations: 0 / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.2284, allocations: 15.98 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2284, allocations: 11.89 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.2286, allocations: 15.94 kB / 0.9829 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2286, allocations: 7.984 kB / 0.9829 GB, free: 23.3 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 0.0001136/0.2288, allocations: 123.9 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.2288, allocations: 7.906 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.2293, allocations: 149.9 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2293, allocations: 0 / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2293, allocations: 0 / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2293, allocations: 3.953 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007472/0.2301, allocations: 442.4 kB / 0.9836 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2301, allocations: 0 / 0.9836 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.2303, allocations: 8 kB / 0.9836 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.2303, allocations: 0 / 0.9836 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.2303, allocations: 11.94 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2304, allocations: 0 / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2304, allocations: 4 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.2308, allocations: 227.6 kB / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.2308, allocations: 92.94 kB / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.2309, allocations: 0 / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.2311, allocations: 23.94 kB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.2311, allocations: 11.92 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.2312, allocations: 4 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.937e-05/0.2313, allocations: 101.4 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2313, allocations: 0 / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004514/0.2317, allocations: 43.98 kB / 0.9841 GB, free: 21.97 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.0004586/0.2322, allocations: 164.3 kB / 0.9842 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.2326, allocations: 91.97 kB / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2326, allocations: 0 / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.2328, allocations: 47.91 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.2331, allocations: 20.23 kB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.2337, allocations: 223.2 kB / 0.9846 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.2339, allocations: 0.7043 MB / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.458e-05/0.2339, allocations: 4.438 kB / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.234, allocations: 19.42 kB / 0.9853 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.323e-06/0.234, allocations: 0 / 0.9853 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.005791/0.2398, allocations: 1.611 MB / 0.9869 GB, free: 19.05 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)