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.347/1.347, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009297/0.0009297, allocations: 174.5 kB / 325.8 MB, free: 2.699 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.585/1.585, allocations: 205 MB / 0.576 GB, free: 20.95 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.0007508/0.0007508, allocations: 95.33 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 8.969 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2391, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001472/0.2407, allocations: 1.219 MB / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.2418, allocations: 0.7805 MB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.2418, allocations: 0 / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.2419, allocations: 4 kB / 0.8982 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.242, allocations: 15.86 kB / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.2424, allocations: 99.77 kB / 0.8983 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.744e-05/0.2425, allocations: 71.78 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.2426, allocations: 11.97 kB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.882e-05/0.2427, allocations: 27.92 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.2427, allocations: 39.83 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.2428, allocations: 4 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.2429, allocations: 95.84 kB / 0.8985 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.2429, allocations: 7.984 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.243, allocations: 27.8 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.2432, allocations: 135.7 kB / 0.8987 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2432, allocations: 3.938 kB / 0.8987 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.572e-06/0.2432, allocations: 0 / 0.8987 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2432, allocations: 3.938 kB / 0.8987 GB, free: 65.53 MB / 0.6042 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.000501/0.2437, allocations: 405.1 kB / 0.8991 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2438, allocations: 12.03 kB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.2438, allocations: 38.69 kB / 0.8991 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.2438, allocations: 8.844 kB / 0.8991 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.379e-05/0.2439, allocations: 176.3 kB / 0.8993 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2439, allocations: 384 / 0.8993 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.244, allocations: 8.375 kB / 0.8993 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.2441, allocations: 77.78 kB / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2442, allocations: 0 / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2442, allocations: 0 / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2442, allocations: 0 / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.2443, allocations: 47.91 kB / 0.8994 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.2448, allocations: 324.6 kB / 0.8997 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.245, allocations: 50.55 kB / 0.8998 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.319e-05/0.245, allocations: 36.97 kB / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.2451, allocations: 4 kB / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.2453, allocations: 83.39 kB / 0.8999 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.766e-06/0.2453, allocations: 3.984 kB / 0.8999 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003681/0.2456, allocations: 149.6 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2457, allocations: 55.41 kB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.563e-05/0.2458, allocations: 129.7 kB / 0.9002 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2458, allocations: 25.7 kB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.2458, allocations: 88.14 kB / 0.9003 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.2459, allocations: 15.81 kB / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.2459, allocations: 21.7 kB / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.246, allocations: 326.8 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.429e-05/0.2461, allocations: 31.98 kB / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.2462, allocations: 50.5 kB / 0.9007 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2463, allocations: 78.55 kB / 0.9008 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2463, allocations: 0 / 0.9008 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002049/0.2465, allocations: 117.5 kB / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2465, allocations: 8 kB / 0.9009 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2466, allocations: 4.062 kB / 0.9009 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2466, allocations: 4 kB / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.2467, allocations: 23.92 kB / 0.901 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2467, allocations: 0 / 0.901 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.2468, allocations: 7.938 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.2468, allocations: 4 kB / 0.901 GB, free: 62.91 MB / 0.6042 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,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.746e-05/0.2469, allocations: 117.8 kB / 0.9011 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.2469, allocations: 15.89 kB / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.2469, allocations: 8.375 kB / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2469, allocations: 7.938 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2469, allocations: 0 / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2469, allocations: 0 / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.2473, allocations: 386.4 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2473, allocations: 4 kB / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.2473, allocations: 8 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2474, allocations: 3.984 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2474, allocations: 0 / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2474, allocations: 7.875 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2474, allocations: 0 / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.2476, allocations: 215.4 kB / 0.9017 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.2476, allocations: 89 kB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.2477, allocations: 4 kB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.2478, allocations: 7.938 kB / 0.9018 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.2478, allocations: 7.984 kB / 0.9018 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.2478, allocations: 0 / 0.9018 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.2479, allocations: 99.86 kB / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2479, allocations: 0 / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002833/0.2481, allocations: 40 kB / 0.902 GB, free: 61.8 MB / 0.6042 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006367/0.2488, allocations: 0.8156 MB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.249, allocations: 75.94 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.249, allocations: 0 / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.003e-05/0.2491, allocations: 44.05 kB / 0.9029 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.2494, allocations: 11.92 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.2507, allocations: 1.508 MB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.2508, allocations: 0.6988 MB / 0.905 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.205e-05/0.2509, allocations: 4 kB / 0.905 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.2509, allocations: 27.36 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2509, allocations: 0 / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.2636, allocations: 2.334 MB / 0.9073 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.2638, allocations: 282.8 kB / 0.9076 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.081, allocations: 6.25 kB / 0.9076 GB, free: 55.97 MB / 0.6042 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)