Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 189.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.576/1.576, allocations: 251.7 MB / 0.5089 GB, free: 3.301 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 72.27 kB / 0.6217 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5777/0.5791, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002425/0.5816, allocations: 1.28 MB / 0.7252 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008003/0.5824, allocations: 426.3 kB / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.5824, allocations: 0 / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.5825, allocations: 0 / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.425e-05/0.5825, allocations: 3.984 kB / 0.7256 GB, free: 11.38 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 NFTyping.typeClassSections: time 0.0005131/0.5831, allocations: 95.8 kB / 0.7257 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.912e-05/0.5831, allocations: 15.92 kB / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.5832, allocations: 3.984 kB / 0.7257 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.927e-05/0.5832, allocations: 11.94 kB / 0.7258 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.759e-05/0.5832, allocations: 7.984 kB / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.5833, allocations: 0 / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.5834, allocations: 99.91 kB / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.5835, allocations: 7.875 kB / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.5835, allocations: 7.984 kB / 0.7259 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.5837, allocations: 99.75 kB / 0.726 GB, free: 11.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5837, allocations: 4 kB / 0.726 GB, free: 11.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5837, allocations: 0 / 0.726 GB, free: 11.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.5837, allocations: 0 / 0.726 GB, free: 11.03 MB / 0.545 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.0004615/0.5842, allocations: 379.1 kB / 0.7263 GB, free: 10.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.5842, allocations: 11.97 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.5843, allocations: 4.938 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.5844, allocations: 164.3 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.5844, allocations: 384 / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.5844, allocations: 8.359 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.5845, allocations: 42.25 kB / 0.7266 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.5845, allocations: 192 / 0.7266 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5846, allocations: 7.875 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5846, allocations: 4 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.669e-05/0.5846, allocations: 0 / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.5847, allocations: 157.6 kB / 0.7267 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.912e-05/0.5848, allocations: 30.61 kB / 0.7267 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.5849, allocations: 16.86 kB / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-06/0.5849, allocations: 0 / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.585, allocations: 67.39 kB / 0.7268 GB, free: 9.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.585, allocations: 0 / 0.7268 GB, free: 9.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001973/0.5852, allocations: 69.61 kB / 0.7269 GB, free: 9.906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.5853, allocations: 51.41 kB / 0.7269 GB, free: 9.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.387e-05/0.5853, allocations: 105.9 kB / 0.727 GB, free: 9.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.5854, allocations: 29.69 kB / 0.7271 GB, free: 9.695 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.5854, allocations: 84.14 kB / 0.7272 GB, free: 9.609 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.5854, allocations: 11.81 kB / 0.7272 GB, free: 9.598 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.5855, allocations: 17.72 kB / 0.7272 GB, free: 9.574 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5856, allocations: 318.8 kB / 0.7275 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.5856, allocations: 4 kB / 0.7275 GB, free: 9.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.5857, allocations: 43.36 kB / 0.7275 GB, free: 9.195 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.691e-05/0.5857, allocations: 43.38 kB / 0.7276 GB, free: 9.141 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5858, allocations: 4 kB / 0.7276 GB, free: 9.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.983e-05/0.5858, allocations: 61.62 kB / 0.7276 GB, free: 9.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5859, allocations: 11.94 kB / 0.7276 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5859, allocations: 4.094 kB / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5859, allocations: 0 / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.586, allocations: 11.98 kB / 0.7277 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.586, allocations: 4 kB / 0.7277 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.586, allocations: 4 kB / 0.7277 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.586, allocations: 3.938 kB / 0.7277 GB, free: 9.031 MB / 0.545 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.507e-05/0.5861, allocations: 117.8 kB / 0.7278 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.5861, allocations: 11.78 kB / 0.7278 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.5862, allocations: 11.5 kB / 0.7278 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.5862, allocations: 0 / 0.7278 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5862, allocations: 0 / 0.7278 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5862, allocations: 3.984 kB / 0.7278 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.5863, allocations: 153.7 kB / 0.728 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5863, allocations: 0 / 0.728 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.5863, allocations: 4 kB / 0.728 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5863, allocations: 3.938 kB / 0.728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.5864, allocations: 0 / 0.728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.5864, allocations: 0 / 0.728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5864, allocations: 0 / 0.728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.5865, allocations: 89.05 kB / 0.7281 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.5865, allocations: 85.52 kB / 0.7281 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.5865, allocations: 3.938 kB / 0.7281 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/0.5866, allocations: 0 / 0.7281 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.5866, allocations: 7.984 kB / 0.7281 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.5866, allocations: 4 kB / 0.7281 GB, free: 8.445 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.705e-05/0.5867, allocations: 83.27 kB / 0.7282 GB, free: 8.363 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5867, allocations: 0 / 0.7282 GB, free: 8.363 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002453/0.5869, allocations: 35.98 kB / 0.7283 GB, free: 8.328 MB / 0.545 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003221/0.5872, allocations: 154 kB / 0.7284 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.5874, allocations: 35.86 kB / 0.7284 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5874, allocations: 0 / 0.7284 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.5874, allocations: 16.19 kB / 0.7285 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.5875, allocations: 5.969 kB / 0.7285 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.5878, allocations: 128.7 kB / 0.7286 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.588, allocations: 0.6729 MB / 0.7292 GB, free: 7.273 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.715e-05/0.588, allocations: 3.984 kB / 0.7292 GB, free: 7.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.5881, allocations: 11.44 kB / 0.7293 GB, free: 7.258 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5881, allocations: 0 / 0.7293 GB, free: 7.258 MB / 0.545 GB Notification: Performance of Templates: time 0.002886/0.591, allocations: 1.03 MB / 0.7303 GB, free: 6.23 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)