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/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 249.3 MB / 261.8 MB, free: 5.969 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.001088/0.001088, allocations: 182.6 kB / 321.3 MB, free: 14.64 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.722/1.722, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.001286/0.001286, allocations: 86.42 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.501e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.239, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8105/1.05, allocations: 131.8 MB / 1.021 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.05, allocations: 75.27 kB / 1.021 GB, free: 2.859 MB / 0.6355 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 FrontEnd - DAE generated: time 0.006155/1.056, allocations: 2.143 MB / 1.023 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/1.056, allocations: 0 / 1.023 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.665e-06/1.056, allocations: 0 / 1.023 GB, free: 1.012 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.0004277/1.057, allocations: 376.1 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.057, allocations: 15.97 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.561e-05/1.057, allocations: 34.5 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/1.057, allocations: 4 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/1.057, allocations: 175.8 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/1.057, allocations: 4 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/1.057, allocations: 0 / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.945e-05/1.057, allocations: 43.41 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/1.057, allocations: 0 / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/1.057, allocations: 0 / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.057, allocations: 0 / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.817e-05/1.057, allocations: 4 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/1.057, allocations: 256.6 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/1.058, allocations: 38.38 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/1.058, allocations: 16.3 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/1.058, allocations: 3.984 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/1.058, allocations: 59 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/1.058, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0001756/1.058, allocations: 70.67 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/1.058, allocations: 55.36 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/1.058, allocations: 92.62 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/1.058, allocations: 25.7 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/1.058, allocations: 87.58 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/1.058, allocations: 19.78 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/1.058, allocations: 3.938 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.058, allocations: 314.8 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/1.058, allocations: 7.938 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/1.058, allocations: 35.17 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/1.058, allocations: 15.98 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.058, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001157/1.059, allocations: 72.25 kB / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.059, allocations: 9.078 kB / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/1.059, allocations: 0 / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.059, allocations: 4 kB / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/1.059, allocations: 8 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/1.059, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/1.059, allocations: 19.3 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/1.059, allocations: 4 kB / 1.025 GB, free: 15 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 7.687e-05/1.059, allocations: 116.5 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/1.059, allocations: 0 / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/1.059, allocations: 7.547 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.059, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.059, allocations: 4 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.059, allocations: 0 / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/1.059, allocations: 293.7 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.059, allocations: 7.984 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/1.059, allocations: 4 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/1.059, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/1.059, allocations: 4 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.059, allocations: 3.938 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.059, allocations: 3.938 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/1.059, allocations: 166 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/1.059, allocations: 77.11 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/1.059, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/1.06, allocations: 7.312 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/1.06, allocations: 288 / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/1.06, allocations: 4 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.687e-05/1.06, allocations: 87.2 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/1.06, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003115/1.06, allocations: 43.38 kB / 1.025 GB, free: 14.12 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.0007326/1.061, allocations: 0.777 MB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.953e-05/1.061, allocations: 38.86 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.061, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/1.061, allocations: 11.44 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/1.061, allocations: 7.938 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/1.061, allocations: 141.2 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/1.062, allocations: 0.6848 MB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.296e-05/1.062, allocations: 4 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/1.062, allocations: 15 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/1.062, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/1.077, allocations: 1.959 MB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/1.077, allocations: 194.8 kB / 1.029 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.634, allocations: 0 / 1.029 GB, free: 10.33 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)