Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.747/1.747, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009314/0.0009314, allocations: 182.5 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 0.6626 GB, free: 4.254 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008983/0.0008984, allocations: 95.45 kB / 0.7808 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004414, allocations: 17.23 kB / 0.9088 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8489/0.8494, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/1.052, allocations: 143.4 MB / 1.166 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.053, allocations: 87.75 kB / 1.166 GB, free: 0.5156 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.01123/1.064, allocations: 3.199 MB / 1.17 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.857e-06/1.064, allocations: 0 / 1.17 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.243e-05/1.064, allocations: 6 kB / 1.17 GB, free: 14.23 MB / 0.7448 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.0009758/1.065, allocations: 483.9 kB / 1.17 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.065, allocations: 8.031 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/1.065, allocations: 10.31 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/1.065, allocations: 184.1 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.81e-05/1.065, allocations: 37.25 kB / 1.17 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/1.066, allocations: 5.812 kB / 1.17 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/1.066, allocations: 78.91 kB / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/1.066, allocations: 9.438 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/1.066, allocations: 1.953 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/1.066, allocations: 0 / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/1.066, allocations: 51.56 kB / 1.17 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/1.067, allocations: 338.3 kB / 1.171 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/1.067, allocations: 78.48 kB / 1.171 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/1.067, allocations: 40.95 kB / 1.171 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/1.067, allocations: 0.5625 kB / 1.171 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/1.067, allocations: 95.64 kB / 1.171 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/1.067, allocations: 1.406 kB / 1.171 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0005321/1.068, allocations: 174.4 kB / 1.171 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/1.068, allocations: 60.73 kB / 1.171 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/1.068, allocations: 142.7 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/1.068, allocations: 25.7 kB / 1.171 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/1.068, allocations: 98.34 kB / 1.171 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/1.068, allocations: 17.12 kB / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-06/1.068, allocations: 4.844 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.069, allocations: 326.9 kB / 1.172 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/1.069, allocations: 31.38 kB / 1.172 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/1.069, allocations: 75.34 kB / 1.172 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/1.069, allocations: 108.9 kB / 1.172 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.069, allocations: 0 / 1.172 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003289/1.069, allocations: 139 kB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.069, allocations: 8 kB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/1.069, allocations: 1 kB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.069, allocations: 5.828 kB / 1.172 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/1.07, allocations: 20.56 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.07, allocations: 1.266 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/1.07, allocations: 24.45 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/1.07, allocations: 5.172 kB / 1.172 GB, free: 11.56 MB / 0.7448 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 () * 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 0.0001177/1.07, allocations: 132.6 kB / 1.172 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/1.07, allocations: 8.703 kB / 1.172 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/1.07, allocations: 18.02 kB / 1.172 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/1.07, allocations: 0 / 1.172 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.07, allocations: 0.875 kB / 1.172 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.07, allocations: 4.703 kB / 1.172 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006896/1.071, allocations: 432.6 kB / 1.173 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.071, allocations: 2.766 kB / 1.173 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/1.071, allocations: 11.52 kB / 1.173 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.071, allocations: 0.9375 kB / 1.173 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/1.071, allocations: 2.438 kB / 1.173 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/1.071, allocations: 4.703 kB / 1.173 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.071, allocations: 3.938 kB / 1.173 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/1.071, allocations: 230.8 kB / 1.173 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/1.071, allocations: 85.77 kB / 1.173 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/1.071, allocations: 4.844 kB / 1.173 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/1.071, allocations: 15.61 kB / 1.173 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/1.072, allocations: 20.66 kB / 1.173 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/1.072, allocations: 1.734 kB / 1.173 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.885e-05/1.072, allocations: 99.92 kB / 1.173 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.072, allocations: 0 / 1.173 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003734/1.072, allocations: 49.88 kB / 1.173 GB, free: 10.45 MB / 0.7448 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) * 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.0004554/1.073, allocations: 182.1 kB / 1.173 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003122/1.073, allocations: 94.55 kB / 1.173 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.073, allocations: 0 / 1.173 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/1.073, allocations: 55.83 kB / 1.173 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/1.073, allocations: 20.66 kB / 1.174 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/1.074, allocations: 226.9 kB / 1.174 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/1.074, allocations: 0.6935 MB / 1.174 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.356e-05/1.074, allocations: 7.156 kB / 1.174 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/1.074, allocations: 20.73 kB / 1.174 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/1.074, allocations: 3.938 kB / 1.174 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of Templates: time 0.00548/1.08, allocations: 1.78 MB / 1.176 GB, free: 8.098 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)