Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.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: translateModel(BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=72,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation") translateModel(BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=72,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 110.4 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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 0.8507/0.8507, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 72.19 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation): time 0.003734/0.131, allocations: 2.852 MB / 0.6791 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1323, allocations: 0.7989 MB / 0.6798 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.1326, allocations: 11.94 kB / 0.6798 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.1328, allocations: 55.27 kB / 0.6799 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.1331, allocations: 91.17 kB / 0.68 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.1334, allocations: 179.8 kB / 0.6802 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000577/0.134, allocations: 0.5855 MB / 0.6807 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003575/0.1344, allocations: 243.5 kB / 0.681 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.1346, allocations: 215.2 kB / 0.6812 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.1349, allocations: 234.9 kB / 0.6814 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.533e-05/0.135, allocations: 67.94 kB / 0.6815 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.1351, allocations: 60 kB / 0.6815 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-05/0.1352, allocations: 107.6 kB / 0.6816 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.1354, allocations: 266.7 kB / 0.6819 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005311/0.136, allocations: 0.5956 MB / 0.6824 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.136, allocations: 4 kB / 0.6825 GB, free: 4 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.172e-06/0.136, allocations: 0 / 0.6825 GB, free: 4 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.136, allocations: 0 / 0.6825 GB, free: 4 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00143/0.1374, allocations: 1.022 MB / 0.6835 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1375, allocations: 12.03 kB / 0.6835 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1376, allocations: 68.27 kB / 0.6835 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.138, allocations: 319.3 kB / 0.6838 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.138, allocations: 41.38 kB / 0.6839 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.565e-05/0.1381, allocations: 56.38 kB / 0.6839 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008524/0.139, allocations: 460.6 kB / 0.6844 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.139, allocations: 4 kB / 0.6844 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.1391, allocations: 23.94 kB / 0.6844 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1391, allocations: 12 kB / 0.6844 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.1399, allocations: 376.1 kB / 0.6848 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.1421, allocations: 1.532 MB / 0.6863 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007906/0.1429, allocations: 396.3 kB / 0.6866 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/0.1433, allocations: 218.2 kB / 0.6868 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1434, allocations: 8.328 kB / 0.6869 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006587/0.144, allocations: 0.5332 MB / 0.6874 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=64): time 2.575e-06/0.144, allocations: 0 / 0.6874 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.001501/0.1455, allocations: 0.9107 MB / 0.6883 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/0.1458, allocations: 0.4913 MB / 0.6887 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.146, allocations: 236.9 kB / 0.689 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.146, allocations: 45.69 kB / 0.689 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1462, allocations: 209.2 kB / 0.6892 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.1463, allocations: 197.2 kB / 0.6894 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.1465, allocations: 114.2 kB / 0.6895 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1466, allocations: 354.8 kB / 0.6898 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.147, allocations: 173.5 kB / 0.69 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.1474, allocations: 234.3 kB / 0.6902 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.1503, allocations: 1.855 MB / 0.692 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1503, allocations: 0 / 0.692 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001124/0.1514, allocations: 0.8141 MB / 0.6928 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.1516, allocations: 267.3 kB / 0.6931 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1516, allocations: 3.984 kB / 0.6931 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1516, allocations: 7.938 kB / 0.6931 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.152, allocations: 95.89 kB / 0.6932 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.152, allocations: 4 kB / 0.6932 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.1523, allocations: 63.42 kB / 0.6933 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.1523, allocations: 23.98 kB / 0.6933 GB, free: 8.039 MB / 0.5294 GB Warning: Assuming fixed start value for the following 8 variables: inconfortThavecPresence.IntegraleTempChaud.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThavecPresence.IntegraleTempFroid.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThavecPresence.IntegraleTempChaud1.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThavecPresence.IntegraleTempFroid1.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThsansPresence.IntegraleTempChaud.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThsansPresence.IntegraleTempFroid.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThsansPresence.IntegraleTempChaud1.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThsansPresence.IntegraleTempFroid1.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.inconfortThavecPresence.IntegraleTempChaud.preIt,$PRE.inconfortThavecPresence.IntegraleTempFroid.preIt,$PRE.inconfortThavecPresence.IntegraleTempChaud1.preIt,$PRE.inconfortThavecPresence.IntegraleTempFroid1.preIt,$PRE.inconfortThsansPresence.IntegraleTempChaud.preIt,$PRE.inconfortThsansPresence.IntegraleTempFroid.preIt,$PRE.inconfortThsansPresence.IntegraleTempChaud1.preIt,$PRE.inconfortThsansPresence.IntegraleTempFroid1.preIt,$PRE.pulse.count,$PRE.pulse.T_start,inconfortThsansPresence.realToBoolean1.y,inconfortThsansPresence.realToBoolean.y,inconfortThsansPresence.IntegraleTempFroid1.preIt,inconfortThsansPresence.IntegraleTempChaud1.preIt,inconfortThsansPresence.IntegraleTempFroid.preIt,inconfortThsansPresence.IntegraleTempChaud.preIt,pulse.count,pulse.T_start,inconfortThavecPresence.realToBoolean1.y,inconfortThavecPresence.realToBoolean.y,inconfortThavecPresence.IntegraleTempFroid1.preIt,inconfortThavecPresence.IntegraleTempChaud1.preIt,inconfortThavecPresence.IntegraleTempFroid.preIt,inconfortThavecPresence.IntegraleTempChaud.preIt,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 9 * 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 0.0004172/0.1527, allocations: 481.8 kB / 0.6937 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.1528, allocations: 47.53 kB / 0.6938 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.1541, allocations: 0.86 MB / 0.6946 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1542, allocations: 7.984 kB / 0.6946 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1542, allocations: 0 / 0.6946 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.1542, allocations: 116.6 kB / 0.6947 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/0.1543, allocations: 20 kB / 0.6948 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.1546, allocations: 31.97 kB / 0.6948 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.1547, allocations: 47.94 kB / 0.6948 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002219/0.1569, allocations: 1.469 MB / 0.6963 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00186/0.1588, allocations: 1.346 MB / 0.6976 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005177/0.1593, allocations: 333 kB / 0.6979 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001384/0.1595, allocations: 168.5 kB / 0.6981 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of Backend: time 5.3e-07/0.1595, allocations: 0 / 0.6981 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.1607, allocations: 0.9537 MB / 0.699 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001484/0.1622, allocations: 1.67 MB / 0.7006 GB, free: 15.89 MB / 0.545 GB Notification: Performance of Templates: time 0.01067/0.1729, allocations: 6.14 MB / 0.7066 GB, free: 9.895 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.makefile (rm -f BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.pipe >> ../files/BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.sim & ./BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.pipe 2>&1)