Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.742/2.742, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.001586/0.001586, allocations: 180.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001066/0.001065, allocations: 91.03 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.777e-05, allocations: 4 kB / 0.8508 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8527/0.8528, allocations: 115.2 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/1.102, allocations: 137.3 MB / 1.097 GB, free: 3.156 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/1.103, allocations: 75.95 kB / 1.098 GB, free: 3.082 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.009428/1.112, allocations: 2.141 MB / 1.1 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/1.112, allocations: 0 / 1.1 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.112, allocations: 0.5 kB / 1.1 GB, free: 0.9805 MB / 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.0005103/1.113, allocations: 382.5 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.113, allocations: 9.469 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/1.113, allocations: 9.469 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/1.113, allocations: 168.4 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/1.113, allocations: 0 / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/1.113, allocations: 4.625 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.941e-05/1.113, allocations: 4 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.757e-05/1.113, allocations: 39 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.113, allocations: 4 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/1.113, allocations: 0 / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/1.113, allocations: 4.766 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/1.114, allocations: 138.9 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.04e-05/1.114, allocations: 21.77 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/1.114, allocations: 18.59 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/1.114, allocations: 0.5625 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/1.114, allocations: 52.88 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/1.114, allocations: 0.625 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002239/1.114, allocations: 58.33 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/1.114, allocations: 55.41 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.645e-05/1.114, allocations: 97.91 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/1.114, allocations: 25.7 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/1.114, allocations: 80.67 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/1.114, allocations: 16.48 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/1.114, allocations: 0.5 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.115, allocations: 316.7 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/1.115, allocations: 4 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.093e-05/1.115, allocations: 29.03 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/1.115, allocations: 21.33 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.115, allocations: 3.953 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001888/1.115, allocations: 63.41 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.115, allocations: 6.031 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.115, allocations: 4 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.115, allocations: 0.5625 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.647e-05/1.115, allocations: 8 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/1.115, allocations: 4.484 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/1.115, allocations: 2.562 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/1.115, allocations: 6.906 kB / 1.101 GB, free: 15.17 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 0.0001022/1.115, allocations: 112.7 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00013/1.115, allocations: 61.48 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/1.115, allocations: 4 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/1.115, allocations: 8.984 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.116, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.116, allocations: 1.062 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.116, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/1.116, allocations: 142.2 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.116, allocations: 1.312 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/1.116, allocations: 4 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.116, allocations: 0 / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/1.116, allocations: 2.688 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.116, allocations: 1.25 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.116, allocations: 0 / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/1.116, allocations: 85.2 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/1.116, allocations: 88.97 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/1.116, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.387e-05/1.116, allocations: 3.938 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/1.116, allocations: 0 / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/1.116, allocations: 7.984 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.782e-05/1.116, allocations: 75.28 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.116, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003899/1.117, allocations: 43.94 kB / 1.102 GB, free: 14.46 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.0009069/1.118, allocations: 0.7085 MB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001247/1.118, allocations: 27.94 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.118, allocations: 0 / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/1.118, allocations: 8 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/1.118, allocations: 5.891 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/1.118, allocations: 115.9 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/1.119, allocations: 0.6807 MB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.751e-05/1.119, allocations: 3.984 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/1.119, allocations: 19.62 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/1.119, allocations: 0 / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03775/1.157, allocations: 1.606 MB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003254/1.157, allocations: 174.9 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/3.525, allocations: 1.406 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)