Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.529/1.529, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.0009851/0.0009851, allocations: 180.8 kB / 366.7 MB, free: 1.668 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.338/1.338, allocations: 205.2 MB / 0.626 GB, free: 7.195 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.0007911/0.0007911, allocations: 88.91 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.723e-05/1.729e-05, allocations: 4 kB / 0.8597 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5239, allocations: 116.3 MB / 0.9732 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.6855, allocations: 140.6 MB / 1.111 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.6857, allocations: 81.39 kB / 1.111 GB, free: 9.602 MB / 0.7136 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 FrontEnd - DAE generated: time 0.009433/0.6952, allocations: 3.301 MB / 1.114 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6952, allocations: 3.031 kB / 1.114 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.6952, allocations: 4 kB / 1.114 GB, free: 6.328 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005787/0.6958, allocations: 491.6 kB / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.6958, allocations: 8.031 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.6959, allocations: 18.78 kB / 1.114 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.696, allocations: 182.1 kB / 1.115 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.6961, allocations: 4 kB / 1.115 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.6961, allocations: 4 kB / 1.115 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001157/0.6962, allocations: 39.92 kB / 1.115 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.6963, allocations: 67.53 kB / 1.115 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.6964, allocations: 0 / 1.115 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.6964, allocations: 4.625 kB / 1.115 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.6964, allocations: 0 / 1.115 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.6969, allocations: 313.9 kB / 1.115 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.6971, allocations: 74.72 kB / 1.115 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.6972, allocations: 24.86 kB / 1.115 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.6972, allocations: 4 kB / 1.115 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.6973, allocations: 100.4 kB / 1.115 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.724e-06/0.6974, allocations: 0 / 1.115 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002946/0.6977, allocations: 121.5 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.6977, allocations: 55.41 kB / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.6978, allocations: 127 kB / 1.115 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.6978, allocations: 28.77 kB / 1.115 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.6979, allocations: 100.2 kB / 1.116 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.6979, allocations: 27.64 kB / 1.116 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-06/0.6979, allocations: 0 / 1.116 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.6981, allocations: 322.8 kB / 1.116 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.6981, allocations: 23.98 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.6982, allocations: 63.59 kB / 1.116 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.967e-05/0.6982, allocations: 27.97 kB / 1.116 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6983, allocations: 7.922 kB / 1.116 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001761/0.6984, allocations: 113.4 kB / 1.116 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6985, allocations: 12.09 kB / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6985, allocations: 0 / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.6985, allocations: 4 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.6986, allocations: 19.92 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.6986, allocations: 3.953 kB / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.6988, allocations: 19.89 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.6988, allocations: 4 kB / 1.116 GB, free: 3.746 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.535e-05/0.6989, allocations: 109 kB / 1.116 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.6989, allocations: 7.906 kB / 1.116 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.6992, allocations: 156 kB / 1.116 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6992, allocations: 4 kB / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6992, allocations: 0 / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.6992, allocations: 7.938 kB / 1.116 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005368/0.6998, allocations: 414.9 kB / 1.117 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6998, allocations: 3.984 kB / 1.117 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.334e-05/0.6999, allocations: 16 kB / 1.117 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.6999, allocations: 0 / 1.117 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.6999, allocations: 5.234 kB / 1.117 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6999, allocations: 4 kB / 1.117 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.6999, allocations: 3.953 kB / 1.117 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.7002, allocations: 225.9 kB / 1.117 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.7002, allocations: 92.92 kB / 1.117 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.7003, allocations: 3.281 kB / 1.117 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.7004, allocations: 11.98 kB / 1.117 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.7004, allocations: 15.94 kB / 1.117 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.7005, allocations: 11.92 kB / 1.117 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.7005, allocations: 101.7 kB / 1.117 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7005, allocations: 0 / 1.117 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002966/0.7008, allocations: 55.94 kB / 1.117 GB, free: 2.445 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0003428/0.7012, allocations: 172.2 kB / 1.118 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.7014, allocations: 72.92 kB / 1.118 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7014, allocations: 192 / 1.118 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.393e-05/0.7015, allocations: 59.92 kB / 1.118 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.7017, allocations: 7.984 kB / 1.118 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.702, allocations: 136.2 kB / 1.118 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.7022, allocations: 0.708 MB / 1.118 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.985e-05/0.7023, allocations: 12.55 kB / 1.118 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.7023, allocations: 19.44 kB / 1.119 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.7023, allocations: 0 / 1.119 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of Templates: time 0.004198/0.7065, allocations: 1.958 MB / 1.12 GB, free: 15.32 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)