Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4762/0.4762, allocations: 87.5 MB / 104.9 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 349.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 107.5 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 55.91 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3394, allocations: 70.06 MB / 0.5575 GB, free: 44.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5407/0.8801, allocations: 164.6 MB / 0.7183 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01813/0.8983, allocations: 17.19 MB / 0.7351 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.9002, allocations: 28.94 kB / 0.7351 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.9018, allocations: 453 kB / 0.7355 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.9064, allocations: 1.47 MB / 0.7369 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003551/0.9099, allocations: 1.223 MB / 0.7381 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00443/0.9144, allocations: 2.811 MB / 0.7409 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002608/0.917, allocations: 1.829 MB / 0.7427 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006265/0.9233, allocations: 1.209 MB / 0.7439 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.9252, allocations: 1.017 MB / 0.7448 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004512/0.9257, allocations: 113.2 kB / 0.745 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.9291, allocations: 1.576 MB / 0.7465 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006908/0.9299, allocations: 0.6786 MB / 0.7472 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.9311, allocations: 1.042 MB / 0.7482 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004534/0.9356, allocations: 3.325 MB / 0.7514 GB, free: 40 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9356, allocations: 0 / 0.7514 GB, free: 40 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9357, allocations: 0 / 0.7514 GB, free: 40 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.108e-05/0.9357, allocations: 0 / 0.7514 GB, free: 40 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004579/0.9403, allocations: 2.644 MB / 0.754 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.9404, allocations: 10.94 kB / 0.754 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.9438, allocations: 0.544 MB / 0.7545 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.9464, allocations: 1.563 MB / 0.7561 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.631e-05/0.9465, allocations: 124.6 kB / 0.7562 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.9467, allocations: 165.6 kB / 0.7563 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.9495, allocations: 1.896 MB / 0.7582 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.9495, allocations: 0 / 0.7582 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.9497, allocations: 68.19 kB / 0.7583 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.9497, allocations: 42.38 kB / 0.7583 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.9528, allocations: 2.065 MB / 0.7603 GB, free: 13.94 MB / 0.5261 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.01004/0.9629, allocations: 5.721 MB / 0.7659 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.9658, allocations: 2.037 MB / 0.7679 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.967, allocations: 0.7439 MB / 0.7686 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005398/0.9676, allocations: 428.6 kB / 0.769 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/0.9692, allocations: 0.9391 MB / 0.77 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=137): time 2.695e-06/0.9692, allocations: 0 / 0.77 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137): time 0.006634/0.9758, allocations: 2.862 MB / 0.7727 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.934e-05/0.9759, allocations: 198.4 kB / 0.7729 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.9783, allocations: 1.76 MB / 0.7747 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002437/0.9785, allocations: 53.95 kB / 0.7747 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007047/0.9793, allocations: 0.8161 MB / 0.7755 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/0.9797, allocations: 459 kB / 0.7759 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/0.9801, allocations: 248.1 kB / 0.7762 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9802, allocations: 351.3 kB / 0.7765 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.9813, allocations: 0.5739 MB / 0.7771 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.9826, allocations: 0.7762 MB / 0.7778 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.9849, allocations: 1.301 MB / 0.7791 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.9849, allocations: 0 / 0.7791 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003804/0.9887, allocations: 1.756 MB / 0.7808 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.9887, allocations: 6.344 kB / 0.7808 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.9888, allocations: 8.062 kB / 0.7808 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.9898, allocations: 215 kB / 0.781 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.9913, allocations: 327.6 kB / 0.7813 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005406/0.9967, allocations: 6.802 MB / 0.788 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.9984, allocations: 166.9 kB / 0.7881 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.9985, allocations: 51.97 kB / 0.7882 GB, free: 10.19 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001025/0.9995, allocations: 477.1 kB / 0.7887 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/0.9999, allocations: 173.8 kB / 0.7888 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004966/1.005, allocations: 2.051 MB / 0.7908 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/1.005, allocations: 16 kB / 0.7908 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.005, allocations: 3.938 kB / 0.7908 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/1.005, allocations: 15.97 kB / 0.7909 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007013/1.012, allocations: 3.827 MB / 0.7946 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.012, allocations: 0 / 0.7946 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/1.013, allocations: 319.6 kB / 0.7949 GB, free: 3.285 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/1.014, allocations: 207 kB / 0.7951 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/1.015, allocations: 39.97 kB / 0.7951 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005262/1.02, allocations: 6.835 MB / 0.8018 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.02, allocations: 3.938 kB / 0.8018 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006498/1.026, allocations: 3.625 MB / 0.8054 GB, free: 7.863 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009945/1.027, allocations: 450.4 kB / 0.8058 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/1.028, allocations: 34.89 kB / 0.8058 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.029, allocations: 118.3 kB / 0.8059 GB, free: 7.258 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/1.029, allocations: 101.1 kB / 0.806 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/1.029, allocations: 67.94 kB / 0.8061 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001621/1.031, allocations: 1.265 MB / 0.8073 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.031, allocations: 7.938 kB / 0.8073 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001937/1.033, allocations: 0.6391 MB / 0.808 GB, free: 5.184 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/1.034, allocations: 0.7537 MB / 0.8087 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003339/1.038, allocations: 2.011 MB / 0.8107 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.038, allocations: 4.562 kB / 0.8107 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/1.04, allocations: 1.382 MB / 0.812 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.042, allocations: 498 kB / 0.8125 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008597/1.051, allocations: 5.412 MB / 0.8178 GB, free: 11.24 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.052, allocations: 1.54 MB / 0.8193 GB, free: 9.664 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002081/1.054, allocations: 488.4 kB / 0.8197 GB, free: 9.18 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/1.054, allocations: 163.4 kB / 0.8199 GB, free: 9.02 MB / 0.573 GB Notification: Performance of SimCode: time 1.082e-06/1.054, allocations: 4 kB / 0.8199 GB, free: 9.016 MB / 0.573 GB Notification: Performance of Templates: time 0.04959/1.104, allocations: 29.85 MB / 0.849 GB, free: 11.48 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)