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.446/1.446, allocations: 249.5 MB / 257 MB, free: 6.93 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.001002/0.001002, allocations: 180.9 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009604/0.0009604, allocations: 96.36 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.916e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1969, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7232/0.9202, allocations: 132.1 MB / 1.014 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.9204, allocations: 76.38 kB / 1.014 GB, free: 5.215 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.005723/0.9262, allocations: 2.13 MB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9262, allocations: 7.938 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.9262, allocations: 0 / 1.016 GB, free: 3.402 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.0004082/0.9266, allocations: 371.5 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.9267, allocations: 11.97 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.9267, allocations: 4 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.9268, allocations: 167 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.9269, allocations: 3.375 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.9269, allocations: 4 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.501e-05/0.9269, allocations: 8.734 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.593e-05/0.927, allocations: 45.56 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.927, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.927, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.927, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.9272, allocations: 141.6 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.504e-05/0.9273, allocations: 32.02 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.9273, allocations: 11.73 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.9273, allocations: 7.938 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.193e-05/0.9274, allocations: 51.44 kB / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.9274, allocations: 0 / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001501/0.9276, allocations: 57.5 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.9276, allocations: 55.39 kB / 1.017 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.9277, allocations: 92 kB / 1.017 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.9277, allocations: 25.7 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.9277, allocations: 84.14 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.9278, allocations: 11.41 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.9278, allocations: 0 / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.9279, allocations: 314.8 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.9279, allocations: 7.312 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.928, allocations: 31.66 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.928, allocations: 11.98 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.928, allocations: 3.953 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.488e-05/0.9281, allocations: 61.09 kB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.9281, allocations: 11.94 kB / 1.018 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.9281, allocations: 0 / 1.018 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.9281, allocations: 0 / 1.018 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.9282, allocations: 8 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.9282, allocations: 0 / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.9283, allocations: 15.53 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.9283, allocations: 0 / 1.018 GB, free: 1.617 MB / 0.6355 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.885e-05/0.9284, allocations: 113.1 kB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.785e-05/0.9284, allocations: 65.19 kB / 1.018 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-06/0.9285, allocations: 3.906 kB / 1.018 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.9285, allocations: 7.828 kB / 1.018 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.9285, allocations: 0 / 1.018 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9285, allocations: 0 / 1.018 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.9285, allocations: 7.984 kB / 1.018 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.871e-05/0.9286, allocations: 134.2 kB / 1.018 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.9286, allocations: 4 kB / 1.018 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.9286, allocations: 3.984 kB / 1.018 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9287, allocations: 0 / 1.018 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.9287, allocations: 0 / 1.018 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.9287, allocations: 0 / 1.018 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9287, allocations: 4 kB / 1.018 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.177e-05/0.9288, allocations: 75.88 kB / 1.018 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.9288, allocations: 85.05 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.9288, allocations: 4 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.9289, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.9289, allocations: 11.5 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.9289, allocations: 4.812 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.059e-05/0.9289, allocations: 83.27 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.929, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002642/0.9292, allocations: 43.06 kB / 1.019 GB, free: 0.9062 MB / 0.6355 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.0006123/0.9298, allocations: 0.699 MB / 1.019 GB, free: 204 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.619e-05/0.9299, allocations: 27.23 kB / 1.019 GB, free: 180 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9299, allocations: 3.938 kB / 1.019 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.93, allocations: 19.44 kB / 1.019 GB, free: 160 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.417e-05/0.9301, allocations: 0 / 1.019 GB, free: 160 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.9304, allocations: 120.4 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.9306, allocations: 0.6768 MB / 1.02 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.9307, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.9307, allocations: 14.73 kB / 1.02 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/0.9307, allocations: 3.938 kB / 1.02 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.9487, allocations: 1.611 MB / 1.022 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.9489, allocations: 185.2 kB / 1.022 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.418/2.367, allocations: 4 kB / 1.022 GB, free: 13.48 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)