Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002107/0.002107, allocations: 190 kB / 16.14 MB, free: 6.703 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.502/1.502, allocations: 205.1 MB / 222 MB, free: 4.969 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.649/1.649, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001235/0.001235, allocations: 60.61 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2402, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002898/0.2431, allocations: 1.581 MB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2447, allocations: 0.8073 MB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.2448, allocations: 0 / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.2448, allocations: 0 / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.245, allocations: 11.86 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.2455, allocations: 107.8 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.2456, allocations: 83.7 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2457, allocations: 12 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2458, allocations: 35.84 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.292e-05/0.2459, allocations: 43.77 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.246, allocations: 4 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.2462, allocations: 91.91 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.319e-05/0.2462, allocations: 19.91 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.2463, allocations: 39.72 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.2466, allocations: 147.9 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2466, allocations: 7.938 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2466, allocations: 0 / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.2466, allocations: 0 / 0.7856 GB, free: 11.02 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.0009489/0.2476, allocations: 474.5 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.2476, allocations: 8.031 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.001e-05/0.2477, allocations: 12.84 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.2479, allocations: 176.2 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.248, allocations: 38.25 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.2481, allocations: 8.375 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.2483, allocations: 81.7 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2484, allocations: 0 / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.2484, allocations: 4 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2484, allocations: 3.984 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.2486, allocations: 47.95 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.2492, allocations: 328.6 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.2495, allocations: 74.52 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.2496, allocations: 36.84 kB / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.2496, allocations: 4 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.2499, allocations: 99.38 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.25, allocations: 0 / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005263/0.2505, allocations: 161.8 kB / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.2505, allocations: 67.39 kB / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2507, allocations: 129.1 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.2507, allocations: 33.8 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.2508, allocations: 96.22 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.2508, allocations: 27.88 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.2509, allocations: 33.7 kB / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.251, allocations: 318.8 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.2511, allocations: 39.97 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2513, allocations: 69.06 kB / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.2515, allocations: 105 kB / 0.7879 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2515, allocations: 4 kB / 0.7879 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003126/0.2519, allocations: 137.3 kB / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2519, allocations: 4 kB / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2519, allocations: 8.125 kB / 0.7881 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2519, allocations: 0 / 0.7881 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.252, allocations: 19.98 kB / 0.7881 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2521, allocations: 4 kB / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.2522, allocations: 11.98 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.2522, allocations: 8 kB / 0.7881 GB, free: 8.125 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 0.0001096/0.2523, allocations: 125.7 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.2524, allocations: 11.91 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.2524, allocations: 16.7 kB / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2524, allocations: 0 / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2524, allocations: 0 / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2524, allocations: 0 / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.2531, allocations: 426.2 kB / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2531, allocations: 0 / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.2532, allocations: 15.98 kB / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2532, allocations: 4.031 kB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.2532, allocations: 11.97 kB / 0.7887 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2532, allocations: 3.938 kB / 0.7887 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2532, allocations: 0 / 0.7887 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.2536, allocations: 227.4 kB / 0.7889 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.2536, allocations: 93 kB / 0.789 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.2537, allocations: 0 / 0.789 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.2538, allocations: 15.92 kB / 0.789 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.2539, allocations: 11.98 kB / 0.7891 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.2539, allocations: 4 kB / 0.7891 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.369e-05/0.254, allocations: 99.25 kB / 0.7891 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.254, allocations: 0 / 0.7891 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000378/0.2544, allocations: 44 kB / 0.7892 GB, free: 6.934 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 (10): * Single equations (assignments): 7 * 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.0004229/0.2548, allocations: 156.1 kB / 0.7893 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.2551, allocations: 91.81 kB / 0.7894 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2551, allocations: 0 / 0.7894 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.2553, allocations: 52.22 kB / 0.7895 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.2556, allocations: 12.28 kB / 0.7895 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.2561, allocations: 237.2 kB / 0.7897 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.2564, allocations: 0.6926 MB / 0.7904 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.052e-05/0.2564, allocations: 8.656 kB / 0.7904 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.2565, allocations: 11.44 kB / 0.7904 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.2565, allocations: 4 kB / 0.7904 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of Templates: time 0.004499/0.261, allocations: 1.669 MB / 0.792 GB, free: 3.977 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)