Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001302/0.001302, allocations: 172.9 kB / 366.7 MB, free: 1.641 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.668/1.668, allocations: 205.3 MB / 0.626 GB, free: 7.168 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.0008413/0.0008412, allocations: 86.91 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.509e-05, allocations: 0 / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7175, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/0.9245, allocations: 138.4 MB / 1.109 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.9248, allocations: 72.44 kB / 1.109 GB, free: 11.6 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.006257/0.9311, allocations: 2.135 MB / 1.111 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9311, allocations: 0.8438 kB / 1.111 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.9311, allocations: 0 / 1.111 GB, free: 9.484 MB / 0.7136 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.0003842/0.9315, allocations: 385.4 kB / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.9315, allocations: 12.03 kB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.9316, allocations: 4.406 kB / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.9317, allocations: 169.1 kB / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.9318, allocations: 4 kB / 1.111 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.9318, allocations: 0.75 kB / 1.111 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.397e-05/0.9319, allocations: 4 kB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.826e-05/0.932, allocations: 38.22 kB / 1.111 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.932, allocations: 4.672 kB / 1.111 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.932, allocations: 0 / 1.111 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.932, allocations: 0.5625 kB / 1.111 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.9322, allocations: 135.2 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.003e-05/0.9322, allocations: 33.92 kB / 1.111 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.9323, allocations: 13.67 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.9323, allocations: 0.5312 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.9324, allocations: 52.75 kB / 1.111 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.9324, allocations: 0.5625 kB / 1.111 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001653/0.9326, allocations: 57.69 kB / 1.112 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.9326, allocations: 51.94 kB / 1.112 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.498e-05/0.9327, allocations: 99.45 kB / 1.112 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.9327, allocations: 26.3 kB / 1.112 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.9328, allocations: 88.98 kB / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.9328, allocations: 7.812 kB / 1.112 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.9328, allocations: 0.8125 kB / 1.112 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.933, allocations: 318.8 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.933, allocations: 12.94 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.933, allocations: 28.16 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.421e-05/0.9331, allocations: 6.094 kB / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9331, allocations: 4 kB / 1.112 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001301/0.9332, allocations: 67.03 kB / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.9332, allocations: 4 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9332, allocations: 0 / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.9333, allocations: 5.312 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.9333, allocations: 7.938 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.9333, allocations: 4 kB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.9334, allocations: 3.625 kB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.9334, allocations: 5.875 kB / 1.112 GB, free: 7.672 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 8.089e-05/0.9335, allocations: 108.9 kB / 1.112 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.545e-05/0.9336, allocations: 65.53 kB / 1.112 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.9336, allocations: 2.594 kB / 1.112 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.9336, allocations: 4.125 kB / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.9336, allocations: 5.188 kB / 1.112 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.9337, allocations: 0 / 1.112 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9337, allocations: 3.938 kB / 1.112 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.9338, allocations: 139.2 kB / 1.113 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.9338, allocations: 3.953 kB / 1.113 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-05/0.9338, allocations: 0.5938 kB / 1.113 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.9338, allocations: 2.531 kB / 1.113 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.9338, allocations: 7.984 kB / 1.113 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9338, allocations: 3.125 kB / 1.113 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9339, allocations: 0 / 1.113 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.847e-05/0.934, allocations: 77.11 kB / 1.113 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.934, allocations: 85.78 kB / 1.113 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.934, allocations: 3.984 kB / 1.113 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.269e-05/0.9341, allocations: 7.188 kB / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.9341, allocations: 4 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.9341, allocations: 0 / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.9341, allocations: 79.28 kB / 1.113 GB, free: 7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9341, allocations: 3.094 kB / 1.113 GB, free: 7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002435/0.9344, allocations: 47.92 kB / 1.113 GB, free: 6.953 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.0006525/0.935, allocations: 0.6975 MB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.688e-05/0.9351, allocations: 31.91 kB / 1.114 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9352, allocations: 4.188 kB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-05/0.9352, allocations: 8 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.902e-05/0.9353, allocations: 8 kB / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.9356, allocations: 116.2 kB / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.9359, allocations: 0.6807 MB / 1.114 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.9359, allocations: 3.938 kB / 1.114 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.9359, allocations: 12.84 kB / 1.114 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9359, allocations: 0 / 1.114 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.9569, allocations: 1.608 MB / 1.116 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0008557/0.9578, allocations: 173.3 kB / 1.116 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.612, allocations: 0 / 1.116 GB, free: 3.562 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)