Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001924/0.001924, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.406/1.406, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.002026/0.002026, allocations: 75.17 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2785, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002803/0.2814, allocations: 1.51 MB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2828, allocations: 0.7916 MB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.2828, allocations: 4 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.2829, allocations: 11.86 kB / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.283, allocations: 11.88 kB / 0.7871 GB, free: 0.8164 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.0005957/0.2836, allocations: 119.6 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.2837, allocations: 91.69 kB / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2838, allocations: 11.94 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.2839, allocations: 43.84 kB / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.284, allocations: 39.83 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.284, allocations: 8 kB / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.2842, allocations: 95.84 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.2842, allocations: 19.92 kB / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.2843, allocations: 35.86 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.2845, allocations: 155.5 kB / 0.7876 GB, free: 212 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2846, allocations: 0 / 0.7876 GB, free: 212 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2846, allocations: 0 / 0.7876 GB, free: 212 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2846, allocations: 0 / 0.7876 GB, free: 212 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.4618/0.7463, allocations: 459.6 kB / 0.7881 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.7464, allocations: 9.875 kB / 0.7881 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.7465, allocations: 9.531 kB / 0.7881 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.7466, allocations: 182.8 kB / 0.7883 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.7466, allocations: 4.188 kB / 0.7883 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.7467, allocations: 6.844 kB / 0.7883 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.7469, allocations: 70.89 kB / 0.7884 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7469, allocations: 0.8438 kB / 0.7884 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.7469, allocations: 8.75 kB / 0.7884 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.7469, allocations: 2.844 kB / 0.7884 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.7471, allocations: 45.69 kB / 0.7884 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.7477, allocations: 307.6 kB / 0.7887 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.7479, allocations: 72.25 kB / 0.7888 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.7479, allocations: 38.55 kB / 0.7888 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.748, allocations: 0.8594 kB / 0.7888 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.7482, allocations: 96.22 kB / 0.7889 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.7482, allocations: 2.969 kB / 0.7889 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003934/0.7486, allocations: 160.7 kB / 0.7891 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.7486, allocations: 57.17 kB / 0.7891 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/0.7487, allocations: 133.8 kB / 0.7892 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.7487, allocations: 25.7 kB / 0.7893 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.7488, allocations: 94.95 kB / 0.7894 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.7488, allocations: 23.52 kB / 0.7894 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.7489, allocations: 32.36 kB / 0.7894 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.7489, allocations: 319.6 kB / 0.7897 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.749, allocations: 27.36 kB / 0.7897 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.847e-05/0.7491, allocations: 69.47 kB / 0.7898 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.7492, allocations: 110.1 kB / 0.7899 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7492, allocations: 0.5938 kB / 0.7899 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002063/0.7495, allocations: 132.1 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7495, allocations: 7.875 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7495, allocations: 2.688 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.7495, allocations: 2.625 kB / 0.79 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.7496, allocations: 13.64 kB / 0.7901 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.7496, allocations: 4.406 kB / 0.7901 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.146e-05/0.7497, allocations: 14.2 kB / 0.7901 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.7498, allocations: 9 kB / 0.7901 GB, free: 47.52 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 7.678e-05/0.7498, allocations: 124.8 kB / 0.7902 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.7499, allocations: 9.156 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.7502, allocations: 146.6 kB / 0.7904 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.7502, allocations: 3.5 kB / 0.7904 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7502, allocations: 0 / 0.7904 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.7502, allocations: 5.391 kB / 0.7904 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.7507, allocations: 428.6 kB / 0.7908 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7507, allocations: 0 / 0.7908 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.7508, allocations: 11.44 kB / 0.7908 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.7508, allocations: 3.156 kB / 0.7908 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.7508, allocations: 7.078 kB / 0.7908 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7508, allocations: 3.344 kB / 0.7908 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7508, allocations: 0 / 0.7908 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.7511, allocations: 232 kB / 0.791 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.7511, allocations: 89.64 kB / 0.7911 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.7512, allocations: 4.125 kB / 0.7911 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.7513, allocations: 9.469 kB / 0.7911 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.7513, allocations: 15.88 kB / 0.7911 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.7514, allocations: 9.703 kB / 0.7911 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.7514, allocations: 101 kB / 0.7912 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.01e-07/0.7514, allocations: 0 / 0.7912 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003159/0.7517, allocations: 43.53 kB / 0.7913 GB, free: 46.75 MB / 0.6544 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 (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.0003563/0.7521, allocations: 154.5 kB / 0.7914 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.7523, allocations: 87.14 kB / 0.7915 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7524, allocations: 3.312 kB / 0.7915 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.962e-05/0.7525, allocations: 48.25 kB / 0.7916 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.7528, allocations: 15.03 kB / 0.7916 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.7532, allocations: 240.2 kB / 0.7918 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.7534, allocations: 0.6933 MB / 0.7925 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.7534, allocations: 18.64 kB / 0.7925 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7534, allocations: 0 / 0.7925 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.003732/0.7572, allocations: 1.826 MB / 0.7943 GB, free: 45.7 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)