Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 288.3 MB / 303.2 MB, free: 8.137 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.001109/0.001109, allocations: 191.5 kB / 371.9 MB, free: 10.27 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.757/1.757, 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.0009307/0.0009305, allocations: 90.92 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004446, allocations: 14.69 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2917, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001644/0.2934, allocations: 1.203 MB / 0.9806 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2946, allocations: 0.754 MB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.2946, allocations: 0 / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.2946, allocations: 3.938 kB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2948, allocations: 19.95 kB / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.2953, allocations: 95.64 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.2954, allocations: 51.92 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2955, allocations: 12 kB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.908e-05/0.2956, allocations: 39.83 kB / 0.9815 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.2957, allocations: 31.84 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.2957, allocations: 8 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.2959, allocations: 71.92 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2959, allocations: 15.92 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.296, allocations: 33.7 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.2962, allocations: 108 kB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2962, allocations: 4 kB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2962, allocations: 0 / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2962, allocations: 0 / 0.9818 GB, free: 25.22 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.0007385/0.2969, allocations: 470.4 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.297, allocations: 8.031 kB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.2971, allocations: 7.906 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2972, allocations: 178.9 kB / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.2973, allocations: 37.69 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.2973, allocations: 4 kB / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.2975, allocations: 81.64 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2975, allocations: 3.938 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.2976, allocations: 3.938 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2976, allocations: 0 / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.2978, allocations: 55.95 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.2983, allocations: 324.7 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.2985, allocations: 78.56 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.2986, allocations: 0 / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.2988, allocations: 95.36 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.2988, allocations: 0 / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005095/0.2993, allocations: 177.5 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.2994, allocations: 59.36 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.81e-05/0.2995, allocations: 127.5 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2995, allocations: 33.7 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.2996, allocations: 96.36 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.2996, allocations: 19.66 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.2996, allocations: 4 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.2997, allocations: 318.8 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.2998, allocations: 39.92 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.2999, allocations: 73.06 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.3, allocations: 43.97 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3, allocations: 0 / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002608/0.3003, allocations: 137.4 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3003, allocations: 4 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3003, allocations: 8.125 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.3004, allocations: 0 / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3005, allocations: 23.92 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3005, allocations: 7.953 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.3006, allocations: 19.89 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3007, allocations: 8.359 kB / 0.9842 GB, free: 22.47 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 9.073e-05/0.3008, allocations: 127.7 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.3008, allocations: 7.906 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.3008, allocations: 12.72 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3008, allocations: 3.938 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.3008, allocations: 0 / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3008, allocations: 7.891 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.3014, allocations: 438.5 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3014, allocations: 0 / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.3015, allocations: 7.984 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3015, allocations: 4 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3015, allocations: 0 / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3015, allocations: 3.953 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3015, allocations: 0 / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.3018, allocations: 239.2 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.3019, allocations: 85.02 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3019, allocations: 8 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3021, allocations: 11.98 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.3021, allocations: 15.94 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.3022, allocations: 11.98 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.3022, allocations: 96.11 kB / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3022, allocations: 0 / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003344/0.3026, allocations: 40 kB / 0.9853 GB, free: 21.28 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 (10): * Single equations (assignments): 7 * 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.0004251/0.303, allocations: 176.8 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002984/0.3033, allocations: 91.88 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3033, allocations: 0 / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.3035, allocations: 52.16 kB / 0.9856 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3037, allocations: 19.98 kB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.3042, allocations: 219 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.3043, allocations: 0.7043 MB / 0.9865 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.869e-05/0.3044, allocations: 4.672 kB / 0.9865 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.3045, allocations: 15.42 kB / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.3045, allocations: 0 / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.004406/0.3089, allocations: 1.614 MB / 0.9881 GB, free: 18.35 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)