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.68/1.68, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001352/0.001352, allocations: 184.8 kB / 361.4 MB, free: 6.859 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.638/1.638, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008378/0.0008378, allocations: 91.45 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.029e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6846/0.6846, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/0.8722, allocations: 139.5 MB / 1.101 GB, free: 364 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.8725, allocations: 80.55 kB / 1.101 GB, free: 284 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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 FrontEnd - DAE generated: time 0.009194/0.8817, allocations: 3.123 MB / 1.104 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8817, allocations: 0.6875 kB / 1.104 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8817, allocations: 0 / 1.104 GB, free: 13.21 MB / 0.7136 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.0005624/0.8823, allocations: 472.4 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.8823, allocations: 8.031 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.8824, allocations: 9.656 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.8826, allocations: 183.6 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.613e-05/0.8826, allocations: 30.39 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.8827, allocations: 5.094 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.914e-05/0.8828, allocations: 40.92 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.8829, allocations: 61.66 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8829, allocations: 0.5312 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.8829, allocations: 2 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8829, allocations: 1.078 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.8835, allocations: 312.4 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.8836, allocations: 58.59 kB / 1.105 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.8837, allocations: 24.86 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.8837, allocations: 7.375 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.8839, allocations: 80.97 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.8839, allocations: 0 / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002715/0.8841, allocations: 113.5 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.8842, allocations: 51.41 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.8843, allocations: 126.3 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.8843, allocations: 25.7 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.8844, allocations: 96.31 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.8844, allocations: 23.7 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.8844, allocations: 0 / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.8846, allocations: 322.8 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.8846, allocations: 20.75 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-05/0.8847, allocations: 61.09 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/0.8847, allocations: 27.97 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8847, allocations: 0 / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001828/0.8849, allocations: 101.5 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8849, allocations: 8.125 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.885, allocations: 4 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.885, allocations: 7.938 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.8851, allocations: 21.86 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.8851, allocations: 0 / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.8852, allocations: 19.92 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.8853, allocations: 7.984 kB / 1.106 GB, free: 10.71 MB / 0.7136 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete 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 7.71e-05/0.8853, allocations: 117.4 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.8854, allocations: 7.906 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.8854, allocations: 8.625 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.8854, allocations: 0 / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8854, allocations: 4 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8854, allocations: 0 / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.8859, allocations: 391 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8859, allocations: 0 / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-05/0.886, allocations: 11.98 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.886, allocations: 0 / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.886, allocations: 2.719 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.886, allocations: 2.812 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.886, allocations: 0 / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.8863, allocations: 211.3 kB / 1.107 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.8863, allocations: 85.02 kB / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.8864, allocations: 6.984 kB / 1.107 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.8865, allocations: 15.98 kB / 1.107 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.8866, allocations: 7.984 kB / 1.107 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.8866, allocations: 8 kB / 1.107 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.628e-05/0.8867, allocations: 98.02 kB / 1.107 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8867, allocations: 3.938 kB / 1.107 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003107/0.887, allocations: 51.94 kB / 1.107 GB, free: 9.617 MB / 0.7136 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * 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.000371/0.8874, allocations: 167.9 kB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.8875, allocations: 63.92 kB / 1.107 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8875, allocations: 256 / 1.107 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.8876, allocations: 50.45 kB / 1.107 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.8878, allocations: 11.94 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.8882, allocations: 118.8 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.8885, allocations: 0.6963 MB / 1.108 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.45e-05/0.8885, allocations: 8.672 kB / 1.108 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.8886, allocations: 15.42 kB / 1.108 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.8886, allocations: 4 kB / 1.108 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of Templates: time 0.00419/0.8928, allocations: 1.771 MB / 1.11 GB, free: 6.734 MB / 0.7136 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)