Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.383/2.383, allocations: 248.5 MB / 261.1 MB, free: 6.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 184 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.2 MB / 0.571 GB, free: 11.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 94.42 kB / 0.6754 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.571e-05, allocations: 8 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2012, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8856/1.087, allocations: 131.6 MB / 1.019 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/1.087, allocations: 77.14 kB / 1.019 GB, free: 3.285 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.009299/1.097, allocations: 2.145 MB / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.844e-06/1.097, allocations: 7.938 kB / 1.021 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.097, allocations: 0 / 1.021 GB, free: 1.426 MB / 0.6355 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.0005087/1.097, allocations: 382.8 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/1.097, allocations: 8.031 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.716e-05/1.097, allocations: 30.56 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/1.097, allocations: 7.953 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/1.097, allocations: 167 kB / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/1.097, allocations: 7.938 kB / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/1.098, allocations: 4 kB / 1.022 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/1.098, allocations: 37.69 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.098, allocations: 7.922 kB / 1.022 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/1.098, allocations: 3.875 kB / 1.022 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.098, allocations: 0 / 1.022 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.647e-05/1.098, allocations: 4 kB / 1.022 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/1.098, allocations: 244.9 kB / 1.022 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/1.098, allocations: 38.25 kB / 1.022 GB, free: 368 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/1.098, allocations: 16.8 kB / 1.022 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/1.098, allocations: 4 kB / 1.022 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/1.098, allocations: 62.25 kB / 1.022 GB, free: 280 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.934e-06/1.099, allocations: 0 / 1.022 GB, free: 280 kB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002209/1.099, allocations: 67.62 kB / 1.022 GB, free: 212 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/1.099, allocations: 55.41 kB / 1.022 GB, free: 144 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/1.099, allocations: 92.25 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/1.099, allocations: 29.7 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/1.099, allocations: 84.08 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/1.099, allocations: 11.8 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/1.099, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.099, allocations: 318.8 kB / 1.023 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.107e-05/1.099, allocations: 7.938 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/1.099, allocations: 36.08 kB / 1.023 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/1.099, allocations: 15.92 kB / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.099, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001548/1.1, allocations: 69.38 kB / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.1, allocations: 7.984 kB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.1, allocations: 4.062 kB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.1, allocations: 7.938 kB / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/1.1, allocations: 11.94 kB / 1.023 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/1.1, allocations: 4.109 kB / 1.023 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/1.1, allocations: 7.844 kB / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/1.1, allocations: 4 kB / 1.023 GB, free: 15.43 MB / 0.6511 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.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.606e-05/1.1, allocations: 108.9 kB / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/1.1, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/1.1, allocations: 7.828 kB / 1.023 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.1, allocations: 8 kB / 1.023 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/1.1, allocations: 3.984 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.1, allocations: 3.953 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/1.1, allocations: 301.7 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.1, allocations: 3.984 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.772e-05/1.101, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.101, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/1.101, allocations: 3.5 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/1.101, allocations: 3.984 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.101, allocations: 3.953 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/1.101, allocations: 168.4 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/1.101, allocations: 77.11 kB / 1.024 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/1.101, allocations: 4 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/1.101, allocations: 3.938 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/1.101, allocations: 3.953 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/1.101, allocations: 4 kB / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.245e-05/1.101, allocations: 86.33 kB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/1.101, allocations: 4 kB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004572/1.102, allocations: 43.69 kB / 1.024 GB, free: 14.53 MB / 0.6511 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009892/1.103, allocations: 0.7728 MB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001484/1.103, allocations: 38.67 kB / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.103, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.873e-05/1.103, allocations: 15.88 kB / 1.025 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/1.103, allocations: 0 / 1.025 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/1.104, allocations: 138.6 kB / 1.025 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/1.104, allocations: 0.6848 MB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.958e-05/1.104, allocations: 4.125 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/1.104, allocations: 15.19 kB / 1.026 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of SimCode: time 1.292e-06/1.104, allocations: 0 / 1.026 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/1.131, allocations: 1.951 MB / 1.028 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003439/1.132, allocations: 190 kB / 1.028 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.487, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.6511 GB