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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.0009531/0.0009531, allocations: 180.8 kB / 366.7 MB, free: 1.645 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.301/1.301, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008609/0.0008609, allocations: 79.98 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.3e-05/1.304e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5371, allocations: 116.3 MB / 0.9732 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.7028, allocations: 140.5 MB / 1.11 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.7031, allocations: 79.95 kB / 1.111 GB, free: 9.656 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.008837/0.7119, allocations: 3.14 MB / 1.114 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.02e-07/0.712, allocations: 0 / 1.114 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.712, allocations: 5.312 kB / 1.114 GB, free: 6.543 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.0005177/0.7125, allocations: 459.1 kB / 1.114 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.7125, allocations: 8.031 kB / 1.114 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.7126, allocations: 11.5 kB / 1.114 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.7127, allocations: 176.1 kB / 1.114 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.7127, allocations: 4 kB / 1.114 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.7128, allocations: 4 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.36e-05/0.7129, allocations: 31.98 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.713, allocations: 61.66 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.713, allocations: 5.75 kB / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.713, allocations: 0 / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.713, allocations: 2.25 kB / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.7135, allocations: 308.6 kB / 1.115 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.7136, allocations: 59.84 kB / 1.115 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.7137, allocations: 28.84 kB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.7137, allocations: 0 / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.7139, allocations: 89.62 kB / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.7139, allocations: 0 / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002601/0.7141, allocations: 109.5 kB / 1.115 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.7142, allocations: 55.91 kB / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.7143, allocations: 115.9 kB / 1.115 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.7143, allocations: 31.45 kB / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.7144, allocations: 96.28 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.7144, allocations: 19.94 kB / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/0.7144, allocations: 0 / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.7145, allocations: 324.8 kB / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.123e-05/0.7145, allocations: 23.98 kB / 1.116 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/0.7146, allocations: 57.16 kB / 1.116 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.001e-05/0.7147, allocations: 19.98 kB / 1.116 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7147, allocations: 4 kB / 1.116 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001629/0.7148, allocations: 113.3 kB / 1.116 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.7149, allocations: 8 kB / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.7149, allocations: 0 / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.7149, allocations: 4 kB / 1.116 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.715, allocations: 19.92 kB / 1.116 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.715, allocations: 0 / 1.116 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.7151, allocations: 16.11 kB / 1.116 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.7152, allocations: 4 kB / 1.116 GB, free: 4.105 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.413e-05/0.7152, allocations: 112.9 kB / 1.116 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.7153, allocations: 7.906 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.7155, allocations: 138.1 kB / 1.116 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.7155, allocations: 4 kB / 1.116 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7155, allocations: 3.5 kB / 1.116 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7156, allocations: 4 kB / 1.116 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.716, allocations: 380.4 kB / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.716, allocations: 0 / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.7161, allocations: 14.8 kB / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7161, allocations: 0 / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.7161, allocations: 4 kB / 1.116 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7161, allocations: 0 / 1.116 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7161, allocations: 4 kB / 1.116 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.7163, allocations: 215.3 kB / 1.117 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.7164, allocations: 85.02 kB / 1.117 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.7164, allocations: 0 / 1.117 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.7165, allocations: 11.98 kB / 1.117 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.7166, allocations: 7.984 kB / 1.117 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.7166, allocations: 8 kB / 1.117 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.214e-05/0.7167, allocations: 103.2 kB / 1.117 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7167, allocations: 0 / 1.117 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003043/0.717, allocations: 47.94 kB / 1.117 GB, free: 2.895 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 (12): * Single equations (assignments): 9 * 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.0003801/0.7174, allocations: 178 kB / 1.117 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001525/0.7175, allocations: 71.86 kB / 1.117 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.7175, allocations: 0 / 1.117 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.591e-05/0.7176, allocations: 35.94 kB / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.7178, allocations: 19.94 kB / 1.117 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.7181, allocations: 111.9 kB / 1.117 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.7183, allocations: 0.7051 MB / 1.118 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.806e-05/0.7184, allocations: 4.438 kB / 1.118 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.7184, allocations: 19.42 kB / 1.118 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7185, allocations: 4 kB / 1.118 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of Templates: time 0.003776/0.7222, allocations: 1.77 MB / 1.12 GB, free: 0 / 0.7136 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)