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.001027/0.001027, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001162/0.001162, allocations: 194 kB / 16.25 MB, free: 6.625 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.535/1.535, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.75/1.75, allocations: 292.3 MB / 0.5485 GB, free: 13.67 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.001852/0.001852, allocations: 71.94 kB / 0.671 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2905, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003175/0.2937, allocations: 1.585 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.2952, allocations: 0.7917 MB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.309e-05/0.2953, allocations: 0 / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.195e-05/0.2953, allocations: 0 / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.2955, allocations: 15.86 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.2961, allocations: 115.8 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.2963, allocations: 83.72 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2964, allocations: 15.98 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.2965, allocations: 39.84 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.291e-05/0.2966, allocations: 39.83 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.2966, allocations: 8 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.2969, allocations: 95.91 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.2969, allocations: 19.92 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.297, allocations: 43.72 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.2972, allocations: 155.9 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2973, allocations: 0 / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2973, allocations: 4 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2973, allocations: 0 / 0.7858 GB, free: 10.89 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.0007931/0.2981, allocations: 478.4 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.2981, allocations: 12.03 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.2982, allocations: 8.844 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2983, allocations: 178.7 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.246e-05/0.2984, allocations: 42.25 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.2985, allocations: 8.375 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.2987, allocations: 85.7 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2987, allocations: 0 / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2987, allocations: 0 / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2987, allocations: 4 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.2989, allocations: 47.95 kB / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.2995, allocations: 320.6 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.2997, allocations: 74.53 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.2998, allocations: 32.84 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.2998, allocations: 8.141 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.3001, allocations: 103.4 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.3002, allocations: 0 / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004868/0.3006, allocations: 165.5 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.3007, allocations: 55.39 kB / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3008, allocations: 134.1 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.3008, allocations: 29.7 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.3009, allocations: 96.28 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.3009, allocations: 23.73 kB / 0.7876 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.301, allocations: 29.7 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3011, allocations: 322.8 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.3012, allocations: 32.34 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.3014, allocations: 73.12 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.3016, allocations: 109 kB / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3016, allocations: 0 / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002843/0.3019, allocations: 145.2 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.3019, allocations: 8 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3019, allocations: 3.938 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.302, allocations: 8.125 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3021, allocations: 15.98 kB / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3021, allocations: 0 / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3022, allocations: 15.98 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.3023, allocations: 4 kB / 0.7883 GB, free: 7.996 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.0001218/0.3024, allocations: 125.7 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.3024, allocations: 7.906 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.3025, allocations: 20.7 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3025, allocations: 0 / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3025, allocations: 4 kB / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3025, allocations: 0 / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006582/0.3032, allocations: 426.2 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.3032, allocations: 0 / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.285e-05/0.3032, allocations: 11.98 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3033, allocations: 4 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.3033, allocations: 7.922 kB / 0.7889 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3033, allocations: 7.938 kB / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3033, allocations: 0 / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.3037, allocations: 223.3 kB / 0.7891 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.3037, allocations: 85 kB / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.3038, allocations: 12 kB / 0.7892 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3039, allocations: 15.92 kB / 0.7892 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.3039, allocations: 7.984 kB / 0.7892 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.304, allocations: 4 kB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.178e-05/0.304, allocations: 102.4 kB / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3041, allocations: 4.188 kB / 0.7894 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003377/0.3044, allocations: 39.98 kB / 0.7894 GB, free: 6.809 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.0003984/0.3048, allocations: 174.4 kB / 0.7896 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.3051, allocations: 95.8 kB / 0.7896 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3052, allocations: 0 / 0.7896 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.3053, allocations: 52.22 kB / 0.7897 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.3056, allocations: 15.94 kB / 0.7897 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.3062, allocations: 231.6 kB / 0.7899 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.3065, allocations: 0.6924 MB / 0.7906 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.962e-05/0.3066, allocations: 8.656 kB / 0.7906 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.3067, allocations: 15.62 kB / 0.7906 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3067, allocations: 4 kB / 0.7906 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of Templates: time 0.004737/0.3114, allocations: 1.71 MB / 0.7923 GB, free: 3.789 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)