Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 194 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.033/1.033, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1905, allocations: 82.03 MB / 0.5944 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3303/0.5209, allocations: 49.29 MB / 0.6425 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.5369, allocations: 13.82 MB / 0.656 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.5397, allocations: 68.25 kB / 0.6561 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.542, allocations: 0.8101 MB / 0.6569 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006269/0.5483, allocations: 2.253 MB / 0.6591 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.5516, allocations: 1.303 MB / 0.6603 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02056/0.5722, allocations: 19.58 MB / 0.6795 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01352/0.5858, allocations: 9.913 MB / 0.6891 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01471/0.6005, allocations: 6.483 MB / 0.6955 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01276/0.6133, allocations: 5.763 MB / 0.7011 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003567/0.6169, allocations: 0.8437 MB / 0.7019 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007619/0.6246, allocations: 1.605 MB / 0.7035 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004905/0.6295, allocations: 2.109 MB / 0.7055 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01141/0.6409, allocations: 4.291 MB / 0.7097 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01631/0.6573, allocations: 12.54 MB / 0.722 GB, free: 10.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.6573, allocations: 4 kB / 0.722 GB, free: 10.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6573, allocations: 3.938 kB / 0.722 GB, free: 10.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000417/0.6577, allocations: 7.938 kB / 0.722 GB, free: 10.81 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.0223/0.6801, allocations: 7.736 MB / 0.7296 GB, free: 3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.061e-05/0.6801, allocations: 16.02 kB / 0.7296 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003506/0.6837, allocations: 0.7642 MB / 0.7303 GB, free: 2.211 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/0.6884, allocations: 0.7891 MB / 0.7311 GB, free: 1.414 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.7005, allocations: 6.071 MB / 0.737 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.7009, allocations: 419.4 kB / 0.7374 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.7023, allocations: 0.5389 MB / 0.7379 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/0.7161, allocations: 8.072 MB / 0.7458 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/0.7162, allocations: 19.78 kB / 0.7458 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005892/0.7168, allocations: 236 kB / 0.7461 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.717, allocations: 168 kB / 0.7462 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.7282, allocations: 6.524 MB / 0.7526 GB, free: 11.07 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0443/0.7725, allocations: 31.45 MB / 0.7833 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005635/0.7782, allocations: 3.648 MB / 0.7869 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004097/0.7823, allocations: 2.809 MB / 0.7896 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009691/0.7833, allocations: 0.8357 MB / 0.7904 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.002e-05/0.7834, allocations: 72.67 kB / 0.7905 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 5.19e-06/0.7834, allocations: 3.938 kB / 0.7905 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.01177/0.7952, allocations: 5.766 MB / 0.7961 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.7953, allocations: 77.52 kB / 0.7962 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008979/0.8043, allocations: 5.227 MB / 0.8013 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006747/0.805, allocations: 77.7 kB / 0.8014 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002934/0.8079, allocations: 2.872 MB / 0.8042 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001691/0.8096, allocations: 0.932 MB / 0.8051 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/0.8107, allocations: 0.7152 MB / 0.8058 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8108, allocations: 313 kB / 0.8061 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002766/0.8136, allocations: 1.67 MB / 0.8077 GB, free: 436 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003655/0.8172, allocations: 2.932 MB / 0.8106 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007163/0.8244, allocations: 4.967 MB / 0.8154 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-05/0.8245, allocations: 12 kB / 0.8155 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009884/0.8344, allocations: 5.437 MB / 0.8208 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.8344, allocations: 20 kB / 0.8208 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.973e-05/0.8345, allocations: 40 kB / 0.8208 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.8355, allocations: 425.2 kB / 0.8212 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003455/0.839, allocations: 0.8657 MB / 0.8221 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00669/0.8457, allocations: 5.708 MB / 0.8277 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005175/0.8509, allocations: 0.5184 MB / 0.8282 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005811/0.8515, allocations: 176 kB / 0.8283 GB, free: 9.863 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004541/0.8561, allocations: 2.28 MB / 0.8306 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001568/0.8577, allocations: 494.1 kB / 0.831 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006973/0.8646, allocations: 4.178 MB / 0.8351 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/0.8647, allocations: 31.94 kB / 0.8351 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.8647, allocations: 8 kB / 0.8351 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00523/0.8699, allocations: 3.637 MB / 0.8387 GB, free: 15.06 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/0.8882, allocations: 10.29 MB / 0.8487 GB, free: 4.598 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.8883, allocations: 4.062 kB / 0.8487 GB, free: 4.594 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/0.8905, allocations: 0.5031 MB / 0.8492 GB, free: 4.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008588/0.8914, allocations: 381.3 kB / 0.8496 GB, free: 3.711 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.8916, allocations: 71.97 kB / 0.8497 GB, free: 3.641 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3352/1.227, allocations: 5.637 MB / 0.8552 GB, free: 190.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/1.227, allocations: 8.5 kB / 0.8552 GB, free: 190.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009285/1.236, allocations: 6.237 MB / 0.8613 GB, free: 190 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002882/1.239, allocations: 1.101 MB / 0.8624 GB, free: 189.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.24, allocations: 67.28 kB / 0.8624 GB, free: 189.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002827/1.243, allocations: 175.5 kB / 0.8626 GB, free: 189.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/1.243, allocations: 179.9 kB / 0.8628 GB, free: 189.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/1.244, allocations: 122 kB / 0.8629 GB, free: 189.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005956/1.25, allocations: 3.84 MB / 0.8666 GB, free: 188.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.22e-07/1.25, allocations: 0 / 0.8666 GB, free: 188.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007621/1.257, allocations: 1.807 MB / 0.8684 GB, free: 188.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0103/1.268, allocations: 7.192 MB / 0.8754 GB, free: 184.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01652/1.284, allocations: 8.067 MB / 0.8833 GB, free: 183.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.212e-05/1.284, allocations: 4.312 kB / 0.8833 GB, free: 183.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004187/1.288, allocations: 2.043 MB / 0.8853 GB, free: 182.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01801/1.306, allocations: 3.485 MB / 0.8887 GB, free: 181.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07905/1.386, allocations: 57.86 MB / 0.9452 GB, free: 142.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00331/1.389, allocations: 4.301 MB / 0.9494 GB, free: 138.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005733/1.395, allocations: 1.847 MB / 0.9512 GB, free: 137.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002898/1.398, allocations: 2.451 MB / 0.9536 GB, free: 135.2 MB / 0.67 GB Notification: Performance of SimCode: time 6.91e-07/1.398, allocations: 4 kB / 0.9536 GB, free: 135.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2448/1.642, allocations: 158.5 MB / 1.108 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.85, allocations: 14.48 kB / 1.108 GB, free: 11.57 MB / 0.7012 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)