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.001456/0.001456, allocations: 112 kB / 16.38 MB, free: 6.023 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.001658/0.001658, allocations: 189.5 kB / 17.31 MB, free: 5.617 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.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.736/1.736, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.0014/0.0014, allocations: 72.45 kB / 0.6729 GB, free: 5.902 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1917, allocations: 114.6 MB / 0.7848 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002483/0.1942, allocations: 1.518 MB / 0.7863 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1954, allocations: 0.7993 MB / 0.7871 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.1955, allocations: 4 kB / 0.7871 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.1955, allocations: 3.938 kB / 0.7871 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.227e-05/0.1956, allocations: 15.8 kB / 0.7871 GB, free: 0.8672 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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.0005198/0.1961, allocations: 127.5 kB / 0.7872 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.1962, allocations: 95.69 kB / 0.7873 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.935e-05/0.1963, allocations: 12 kB / 0.7873 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/0.1964, allocations: 43.78 kB / 0.7874 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.1965, allocations: 39.83 kB / 0.7874 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1965, allocations: 8 kB / 0.7874 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.1967, allocations: 95.91 kB / 0.7875 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.1967, allocations: 23.91 kB / 0.7875 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.1968, allocations: 35.8 kB / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.197, allocations: 155.5 kB / 0.7877 GB, free: 248 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.197, allocations: 3.984 kB / 0.7877 GB, free: 244 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.152e-06/0.197, allocations: 0 / 0.7877 GB, free: 244 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.197, allocations: 0 / 0.7877 GB, free: 244 kB / 0.6544 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.3261/0.5232, allocations: 468.5 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5232, allocations: 11.69 kB / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.5233, allocations: 9.406 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.5234, allocations: 177.6 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/0.5235, allocations: 38.88 kB / 0.7884 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.5235, allocations: 4.719 kB / 0.7884 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.5237, allocations: 78.72 kB / 0.7885 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5237, allocations: 3.938 kB / 0.7885 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.5237, allocations: 0 / 0.7885 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5238, allocations: 3.781 kB / 0.7885 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.5239, allocations: 55.95 kB / 0.7885 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.5244, allocations: 318.8 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.5246, allocations: 74.03 kB / 0.7889 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.5247, allocations: 40.78 kB / 0.7889 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.5248, allocations: 2.031 kB / 0.7889 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.525, allocations: 98.09 kB / 0.789 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.964e-06/0.525, allocations: 3.844 kB / 0.789 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0004415/0.5254, allocations: 169.5 kB / 0.7892 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.5255, allocations: 54.03 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.5256, allocations: 132.6 kB / 0.7894 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.5256, allocations: 27.7 kB / 0.7894 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.5256, allocations: 99.28 kB / 0.7895 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.5256, allocations: 22.45 kB / 0.7895 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.5257, allocations: 37.91 kB / 0.7895 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.5257, allocations: 321.5 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.5258, allocations: 30.73 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.526, allocations: 75.8 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.5262, allocations: 112.5 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5262, allocations: 2.719 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002621/0.5264, allocations: 137.9 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5265, allocations: 6.906 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5265, allocations: 3.719 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5265, allocations: 3.156 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.5266, allocations: 17.81 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.5266, allocations: 3 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.5267, allocations: 18.7 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.5267, allocations: 2.844 kB / 0.7902 GB, free: 47.3 MB / 0.6544 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 6.472e-05/0.5268, allocations: 125.5 kB / 0.7904 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.5268, allocations: 9.156 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.5269, allocations: 18.14 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5269, allocations: 0.875 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5269, allocations: 0 / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.5269, allocations: 88.39 kB / 0.7905 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.5269, allocations: 5.469 kB / 0.7905 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.527, allocations: 12.23 kB / 0.7905 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.5271, allocations: 18.16 kB / 0.7905 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003507/0.5275, allocations: 212.1 kB / 0.7907 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002958/0.5278, allocations: 304.1 kB / 0.791 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000114/0.5279, allocations: 53.25 kB / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.5279, allocations: 105.9 kB / 0.7912 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of Backend: time 2.91e-07/0.5279, allocations: 0 / 0.7912 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006524/0.5286, allocations: 187.3 kB / 0.7913 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003716/0.529, allocations: 0.6381 MB / 0.792 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.003984/0.533, allocations: 1.92 MB / 0.7938 GB, free: 45.96 MB / 0.6544 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)