Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 285.6 MB / 293.1 MB, free: 10.3 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.001142/0.001142, allocations: 172.9 kB / 361.4 MB, free: 6.871 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.795/1.795, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008646/0.0008648, allocations: 94.64 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.81e-05, allocations: 4 kB / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6888/0.6889, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.869, allocations: 137.4 MB / 1.099 GB, free: 2.305 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.8693, allocations: 75.95 kB / 1.099 GB, free: 2.23 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.006256/0.8756, allocations: 2.142 MB / 1.101 GB, free: 136 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8756, allocations: 4 kB / 1.101 GB, free: 132 kB / 0.698 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8756, allocations: 0.6875 kB / 1.101 GB, free: 132 kB / 0.698 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.0004452/0.8761, allocations: 380.9 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.8761, allocations: 8.906 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.8762, allocations: 4.938 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.8763, allocations: 167.9 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.8763, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.8764, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.42e-05/0.8764, allocations: 4.562 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.006e-05/0.8765, allocations: 39.25 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.8765, allocations: 0.5938 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.8765, allocations: 7.984 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.8765, allocations: 1.469 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.8767, allocations: 134.2 kB / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.624e-05/0.8767, allocations: 30.08 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.8768, allocations: 9.453 kB / 1.102 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.8768, allocations: 6.062 kB / 1.102 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.8769, allocations: 52.59 kB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.8769, allocations: 5.688 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001728/0.8771, allocations: 53.67 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.8772, allocations: 55.41 kB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.8773, allocations: 93.52 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.8773, allocations: 26.3 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.8773, allocations: 80.77 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.8774, allocations: 15.8 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.8774, allocations: 5.344 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.8775, allocations: 314.8 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.8775, allocations: 8.75 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.8776, allocations: 33.23 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.8776, allocations: 17.64 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8776, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001094/0.8778, allocations: 63.89 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.8778, allocations: 4.562 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.8778, allocations: 4 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.8778, allocations: 0.875 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.8779, allocations: 11.98 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.8779, allocations: 2.844 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.878, allocations: 0 / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.878, allocations: 4 kB / 1.102 GB, free: 14.32 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 9.529e-05/0.8781, allocations: 105.4 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.905e-05/0.8782, allocations: 69.48 kB / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.8782, allocations: 7.094 kB / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.8782, allocations: 11.33 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.8783, allocations: 0 / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8783, allocations: 2.156 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8783, allocations: 0 / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.8784, allocations: 130.2 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8784, allocations: 3.953 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/0.8784, allocations: 4 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8785, allocations: 0 / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.8785, allocations: 2.875 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8785, allocations: 3.219 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8785, allocations: 1.719 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.8786, allocations: 85.05 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.8786, allocations: 84.97 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.8787, allocations: 4 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.8787, allocations: 96 / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.8787, allocations: 7.984 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.8787, allocations: 4 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.8788, allocations: 79.28 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.733e-06/0.8788, allocations: 0 / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002977/0.8791, allocations: 43.92 kB / 1.103 GB, free: 13.61 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.0007451/0.8798, allocations: 0.708 MB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.88, allocations: 20 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.88, allocations: 0 / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.793e-05/0.88, allocations: 8 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.8801, allocations: 6.188 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.8805, allocations: 120 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.8807, allocations: 0.6807 MB / 1.105 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.8808, allocations: 3.984 kB / 1.105 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.8808, allocations: 12.86 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8808, allocations: 0 / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.8999, allocations: 1.612 MB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.9001, allocations: 182.3 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.411, allocations: 1.969 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)