Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",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.922 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.001091/0.001091, allocations: 172.9 kB / 316.3 MB, free: 3.25 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.64/1.64, 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.00078/0.0007801, allocations: 92.12 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.957e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7122/0.9234, allocations: 133.9 MB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.9237, allocations: 80.83 kB / 1.016 GB, free: 3.496 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.008896/0.9326, allocations: 2.959 MB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9326, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.9326, allocations: 0 / 1.019 GB, free: 1.004 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005112/0.9331, allocations: 411.3 kB / 1.019 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.9332, allocations: 19.97 kB / 1.019 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.9332, allocations: 3.188 kB / 1.019 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.9334, allocations: 174.9 kB / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.9334, allocations: 7.984 kB / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.9335, allocations: 4 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.979e-05/0.9335, allocations: 18.62 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.973e-05/0.9336, allocations: 55.86 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.9337, allocations: 0 / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.9337, allocations: 0 / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.9337, allocations: 4 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.9343, allocations: 293 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.668e-05/0.9344, allocations: 44.52 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.9344, allocations: 25 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.9345, allocations: 8 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.9346, allocations: 67.89 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.9346, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002581/0.9349, allocations: 93.83 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.9349, allocations: 58.91 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.935, allocations: 113.2 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.9351, allocations: 25.7 kB / 1.02 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.9351, allocations: 95.42 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.9352, allocations: 19.22 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.9352, allocations: 0 / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9353, allocations: 326 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/0.9354, allocations: 19.31 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.165e-05/0.9354, allocations: 41.69 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.053e-05/0.9355, allocations: 26.81 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9355, allocations: 0 / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000162/0.9357, allocations: 90.27 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.9357, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.9357, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.9357, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.633e-05/0.9358, allocations: 11.98 kB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.9358, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.9359, allocations: 11.91 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.9359, allocations: 11.36 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.987e-05/0.936, allocations: 112.9 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001595/0.9362, allocations: 90.8 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.9362, allocations: 7.906 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.9362, allocations: 8.5 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.9362, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9363, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.9363, allocations: 3.953 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.9366, allocations: 339.5 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9366, allocations: 0 / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.9367, allocations: 4 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9367, allocations: 0 / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.9367, allocations: 4.859 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9367, allocations: 4 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.9367, allocations: 3.953 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.9369, allocations: 198.6 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.937, allocations: 81.02 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.937, allocations: 4 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.922e-05/0.9371, allocations: 11.98 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.9372, allocations: 7.703 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.9372, allocations: 7.984 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.9373, allocations: 86.28 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9373, allocations: 3.938 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003077/0.9376, allocations: 51.3 kB / 1.022 GB, free: 13.85 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: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007647/0.9383, allocations: 0.7936 MB / 1.023 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.9385, allocations: 51.61 kB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9385, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.603e-05/0.9386, allocations: 29.44 kB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.9387, allocations: 11.23 kB / 1.023 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.9392, allocations: 151.5 kB / 1.023 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.9395, allocations: 0.6949 MB / 1.024 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.9396, allocations: 8.312 kB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.9396, allocations: 20.44 kB / 1.024 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/0.9397, allocations: 0 / 1.024 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.9598, allocations: 2.185 MB / 1.026 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/0.96, allocations: 199.5 kB / 1.026 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.523, allocations: 1.406 kB / 1.026 GB, free: 9.645 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)