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.573/1.573, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001149/0.001149, allocations: 180.8 kB / 366.7 MB, free: 1.641 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.375/1.375, 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.0007992/0.0007993, allocations: 84.59 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.58e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.5557, allocations: 116.3 MB / 0.9732 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.7162, allocations: 138.3 MB / 1.108 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.7164, allocations: 76.55 kB / 1.108 GB, free: 11.78 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.005191/0.7216, allocations: 2.008 MB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7217, allocations: 0 / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7217, allocations: 0.875 kB / 1.11 GB, free: 9.785 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003085/0.722, allocations: 372.7 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.722, allocations: 8.688 kB / 1.111 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.7221, allocations: 0 / 1.111 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.7222, allocations: 169.2 kB / 1.111 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.7222, allocations: 1.406 kB / 1.111 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.7222, allocations: 8.516 kB / 1.111 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.498e-05/0.7223, allocations: 5 kB / 1.111 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.679e-05/0.7223, allocations: 37.69 kB / 1.111 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.7223, allocations: 0.7188 kB / 1.111 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.7223, allocations: 0 / 1.111 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.7224, allocations: 0.6875 kB / 1.111 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.7225, allocations: 134.8 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.753e-05/0.7225, allocations: 31.03 kB / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.7226, allocations: 13.39 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.445e-06/0.7226, allocations: 0.5938 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.966e-05/0.7227, allocations: 56.94 kB / 1.111 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.7227, allocations: 0.625 kB / 1.111 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001384/0.7228, allocations: 57.67 kB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.7229, allocations: 58.94 kB / 1.111 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.618e-05/0.7229, allocations: 88.97 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.723, allocations: 25.7 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.723, allocations: 84.64 kB / 1.111 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.723, allocations: 12.39 kB / 1.111 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.723, allocations: 2.5 kB / 1.111 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.7231, allocations: 310.8 kB / 1.112 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.7231, allocations: 8 kB / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.7232, allocations: 33.48 kB / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.35e-05/0.7232, allocations: 13.14 kB / 1.112 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.7232, allocations: 1.125 kB / 1.112 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.224e-05/0.7233, allocations: 74.89 kB / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.7233, allocations: 4 kB / 1.112 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.7233, allocations: 0 / 1.112 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.7234, allocations: 4 kB / 1.112 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.264e-05/0.7234, allocations: 9.438 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.7234, allocations: 3.984 kB / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.7235, allocations: 4 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.7235, allocations: 0 / 1.112 GB, free: 7.996 MB / 0.7136 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 6.352e-05/0.7235, allocations: 114.4 kB / 1.112 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.7235, allocations: 3.953 kB / 1.112 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.7236, allocations: 8.125 kB / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7236, allocations: 4 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7236, allocations: 0.5312 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.7236, allocations: 0.7188 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.54e-05/0.7237, allocations: 134.2 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7237, allocations: 1.594 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.7237, allocations: 0 / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.7237, allocations: 0 / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.7237, allocations: 2.125 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7237, allocations: 7.953 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.7238, allocations: 7.953 kB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.752e-05/0.7238, allocations: 76.88 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.7239, allocations: 85.02 kB / 1.112 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.7239, allocations: 0 / 1.112 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.7239, allocations: 7.922 kB / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.724, allocations: 3.953 kB / 1.112 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.724, allocations: 4 kB / 1.112 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.95e-05/0.724, allocations: 76.78 kB / 1.112 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.724, allocations: 0 / 1.112 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002253/0.7242, allocations: 47.92 kB / 1.112 GB, free: 7.348 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: 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.0003129/0.7246, allocations: 166.5 kB / 1.113 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.509e-05/0.7246, allocations: 23.94 kB / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.7246, allocations: 0 / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.407e-05/0.7247, allocations: 12 kB / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.406e-05/0.7248, allocations: 2.578 kB / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001673/0.7249, allocations: 70.73 kB / 1.113 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.7252, allocations: 0.6846 MB / 1.113 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.7252, allocations: 0 / 1.113 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.7252, allocations: 11.44 kB / 1.113 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.7252, allocations: 0 / 1.113 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of Templates: time 0.002795/0.728, allocations: 1.1 MB / 1.115 GB, free: 5.277 MB / 0.7136 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)