Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData") translateModel(IBPSA.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 100.7 kB / 16.27 MB, free: 5.977 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.001622/0.001622, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8385/0.8385, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 59.91 kB / 0.4911 GB, free: 7.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4184, allocations: 77.93 MB / 0.5672 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.1875/0.6059, allocations: 168.4 MB / 0.7316 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02306/0.629, allocations: 17.33 MB / 0.7485 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/0.6318, allocations: 35.81 kB / 0.7486 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.3855/1.017, allocations: 0.5646 MB / 0.7491 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006361/1.024, allocations: 1.771 MB / 0.7509 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004139/1.028, allocations: 1.42 MB / 0.7522 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005322/1.033, allocations: 2.85 MB / 0.755 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00404/1.037, allocations: 1.94 MB / 0.7569 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004803/1.042, allocations: 1.42 MB / 0.7583 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002564/1.045, allocations: 1.114 MB / 0.7594 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/1.046, allocations: 221.5 kB / 0.7596 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004842/1.051, allocations: 1.522 MB / 0.7611 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001633/1.052, allocations: 0.7896 MB / 0.7619 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004581/1.057, allocations: 1.222 MB / 0.7631 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.011/1.068, allocations: 3.523 MB / 0.7665 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/1.068, allocations: 1.344 kB / 0.7665 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.495e-06/1.068, allocations: 0.9062 kB / 0.7665 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001369/1.068, allocations: 0 / 0.7665 GB, free: 1.215 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006761/1.075, allocations: 2.75 MB / 0.7692 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/1.075, allocations: 9.844 kB / 0.7692 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004283/1.079, allocations: 0.5593 MB / 0.7697 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00335/1.083, allocations: 1.585 MB / 0.7713 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/1.083, allocations: 132.2 kB / 0.7714 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/1.083, allocations: 167.2 kB / 0.7716 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/1.086, allocations: 1.946 MB / 0.7735 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/1.086, allocations: 0 / 0.7735 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/1.086, allocations: 83.52 kB / 0.7736 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/1.087, allocations: 40.16 kB / 0.7736 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003364/1.09, allocations: 2.095 MB / 0.7756 GB, free: 15.07 MB / 0.5919 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.009878/1.1, allocations: 6.095 MB / 0.7816 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/1.103, allocations: 2.092 MB / 0.7836 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/1.104, allocations: 0.7577 MB / 0.7844 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006679/1.105, allocations: 431.2 kB / 0.7848 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/1.106, allocations: 1.002 MB / 0.7858 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.155e-06/1.106, allocations: 0.7188 kB / 0.7858 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006578/1.113, allocations: 2.958 MB / 0.7887 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.113, allocations: 200.5 kB / 0.7888 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/1.115, allocations: 1.779 MB / 0.7906 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002148/1.115, allocations: 64.36 kB / 0.7906 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007111/1.116, allocations: 0.83 MB / 0.7915 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004443/1.117, allocations: 483.2 kB / 0.7919 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/1.117, allocations: 258.9 kB / 0.7922 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.117, allocations: 356 kB / 0.7925 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/1.118, allocations: 0.5894 MB / 0.7931 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/1.12, allocations: 0.8098 MB / 0.7939 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/1.122, allocations: 1.332 MB / 0.7952 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.122, allocations: 0 / 0.7952 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003924/1.126, allocations: 1.808 MB / 0.7969 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.126, allocations: 4.875 kB / 0.7969 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.126, allocations: 2.25 kB / 0.7969 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/1.127, allocations: 218.5 kB / 0.7971 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.128, allocations: 333.3 kB / 0.7975 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007013/1.135, allocations: 7.325 MB / 0.8046 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/1.138, allocations: 164.4 kB / 0.8048 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/1.138, allocations: 58.81 kB / 0.8048 GB, free: 2.562 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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.001331/1.139, allocations: 483.7 kB / 0.8053 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004748/1.14, allocations: 181.3 kB / 0.8055 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004826/1.145, allocations: 2.128 MB / 0.8075 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/1.145, allocations: 14.75 kB / 0.8076 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.145, allocations: 10.06 kB / 0.8076 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/1.145, allocations: 6.141 kB / 0.8076 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00748/1.152, allocations: 3.984 MB / 0.8115 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/1.152, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/1.153, allocations: 313.9 kB / 0.8118 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008839/1.154, allocations: 206.1 kB / 0.812 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/1.155, allocations: 43.09 kB / 0.812 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005946/1.16, allocations: 7.355 MB / 0.8192 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.161, allocations: 0 / 0.8192 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004412/1.165, allocations: 1.986 MB / 0.8211 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.166, allocations: 470.4 kB / 0.8216 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/1.166, allocations: 28.16 kB / 0.8216 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.168, allocations: 105.8 kB / 0.8217 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/1.168, allocations: 112.6 kB / 0.8218 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.168, allocations: 73.5 kB / 0.8219 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001726/1.17, allocations: 1.281 MB / 0.8231 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.71e-07/1.17, allocations: 0 / 0.8231 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002388/1.172, allocations: 0.6729 MB / 0.8238 GB, free: 8.539 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002024/1.174, allocations: 0.7655 MB / 0.8245 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005319/1.18, allocations: 2.519 MB / 0.827 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.18, allocations: 4.562 kB / 0.827 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/1.182, allocations: 1.419 MB / 0.8284 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/1.185, allocations: 0.5371 MB / 0.8289 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006293/1.191, allocations: 3.747 MB / 0.8326 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/1.192, allocations: 1.521 MB / 0.8341 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001981/1.194, allocations: 0.5049 MB / 0.8345 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/1.195, allocations: 174.5 kB / 0.8347 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/1.195, allocations: 4 kB / 0.8347 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.05413/1.249, allocations: 31.82 MB / 0.8658 GB, free: 14.14 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)