Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.001202/0.001202, allocations: 178.5 kB / 371.6 MB, free: 3.371 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.797/1.797, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009768/0.0009767, allocations: 93.27 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.388e-05/5.391e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2921, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8739/1.166, allocations: 139 MB / 1.116 GB, free: 44.71 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.166, allocations: 70.56 kB / 1.116 GB, free: 44.68 MB / 0.7448 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.007383/1.174, allocations: 2.014 MB / 1.118 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.763e-06/1.174, allocations: 0.7812 kB / 1.118 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.035e-06/1.174, allocations: 4 kB / 1.118 GB, free: 43.49 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000357/1.174, allocations: 369.1 kB / 1.118 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.174, allocations: 8.031 kB / 1.118 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/1.174, allocations: 8.625 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.738e-05/1.175, allocations: 167.1 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/1.175, allocations: 7.016 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/1.175, allocations: 4.5 kB / 1.118 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/1.175, allocations: 34.56 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.175, allocations: 0 / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/1.175, allocations: 0.5938 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/1.175, allocations: 0.9375 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/1.175, allocations: 10.7 kB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/1.175, allocations: 158.1 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/1.175, allocations: 32.95 kB / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/1.175, allocations: 14.5 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/1.175, allocations: 6.438 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/1.175, allocations: 52.72 kB / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/1.175, allocations: 0 / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001905/1.176, allocations: 57.94 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/1.176, allocations: 59.34 kB / 1.119 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/1.176, allocations: 88.81 kB / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/1.176, allocations: 29.7 kB / 1.119 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.976e-05/1.176, allocations: 80.14 kB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/1.176, allocations: 11.05 kB / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/1.176, allocations: 0 / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.618e-05/1.176, allocations: 322.5 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/1.176, allocations: 4.562 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.475e-05/1.176, allocations: 31.73 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/1.176, allocations: 14.28 kB / 1.119 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.176, allocations: 3.953 kB / 1.119 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001247/1.176, allocations: 71.84 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.176, allocations: 11.38 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.176, allocations: 0.6562 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.176, allocations: 0 / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.119e-05/1.176, allocations: 8 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.176, allocations: 0 / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/1.176, allocations: 8.406 kB / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/1.176, allocations: 0 / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.029e-05/1.176, allocations: 114.2 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/1.176, allocations: 13.39 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/1.177, allocations: 7.5 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.177, allocations: 0 / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.177, allocations: 1.312 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.177, allocations: 0 / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.906e-05/1.177, allocations: 160.3 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.177, allocations: 0 / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.622e-05/1.177, allocations: 3.953 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.177, allocations: 4 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/1.177, allocations: 3.422 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.177, allocations: 4 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.177, allocations: 2.188 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/1.177, allocations: 80.5 kB / 1.12 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/1.177, allocations: 81.02 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/1.177, allocations: 11.33 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.812e-05/1.177, allocations: 0 / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/1.177, allocations: 0 / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/1.177, allocations: 7.469 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.047e-05/1.177, allocations: 79.28 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.11e-07/1.177, allocations: 0.6562 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000382/1.177, allocations: 39.19 kB / 1.12 GB, free: 41.09 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004126/1.178, allocations: 170.6 kB / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001112/1.178, allocations: 31.34 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.178, allocations: 0 / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.904e-05/1.178, allocations: 11.25 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/1.178, allocations: 4.266 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/1.178, allocations: 62.78 kB / 1.12 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/1.179, allocations: 0.6803 MB / 1.121 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.878e-05/1.179, allocations: 0 / 1.121 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/1.179, allocations: 8.656 kB / 1.121 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/1.179, allocations: 8 kB / 1.121 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of Templates: time 0.004192/1.183, allocations: 1.119 MB / 1.122 GB, free: 39.51 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)