Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001352/0.001352, allocations: 108 kB / 15.6 MB, free: 128 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.002188/0.002188, allocations: 196.9 kB / 16.53 MB, free: 6.668 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.601/1.601, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002715/0.002715, allocations: 278.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.153/1.153, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002845/0.002846, allocations: 99.67 kB / 0.6064 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1736, allocations: 89.15 MB / 0.6935 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.5163/0.69, allocations: 168.4 MB / 0.8579 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02305/0.7131, allocations: 17.34 MB / 0.8749 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0033/0.7164, allocations: 35.31 kB / 0.8749 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.7186, allocations: 0.5743 MB / 0.8755 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005495/0.7241, allocations: 1.782 MB / 0.8772 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003829/0.7279, allocations: 1.418 MB / 0.8786 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003779/0.7317, allocations: 2.849 MB / 0.8814 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002603/0.7343, allocations: 1.943 MB / 0.8833 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/0.7386, allocations: 1.428 MB / 0.8847 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.7402, allocations: 1.113 MB / 0.8857 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003645/0.7406, allocations: 220 kB / 0.8859 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.7439, allocations: 1.513 MB / 0.8874 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007799/0.7447, allocations: 0.7946 MB / 0.8882 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.7462, allocations: 1.22 MB / 0.8894 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005862/0.7521, allocations: 3.517 MB / 0.8928 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7521, allocations: 0 / 0.8928 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7521, allocations: 0 / 0.8928 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.199e-05/0.7522, allocations: 0 / 0.8928 GB, free: 15.6 MB / 0.6231 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.005129/0.7573, allocations: 2.76 MB / 0.8955 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.7574, allocations: 12.03 kB / 0.8955 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003843/0.7612, allocations: 0.5589 MB / 0.8961 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.764, allocations: 1.592 MB / 0.8976 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.7641, allocations: 135.3 kB / 0.8978 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.7644, allocations: 168 kB / 0.8979 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003577/0.768, allocations: 1.944 MB / 0.8998 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.768, allocations: 0 / 0.8998 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.7682, allocations: 72 kB / 0.8999 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/0.7683, allocations: 47.98 kB / 0.8999 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00378/0.772, allocations: 2.085 MB / 0.902 GB, free: 6.051 MB / 0.6231 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.0101/0.7822, allocations: 6.091 MB / 0.9079 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/0.7858, allocations: 2.091 MB / 0.91 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.7872, allocations: 0.7581 MB / 0.9107 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006594/0.7879, allocations: 433.6 kB / 0.9111 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/0.7897, allocations: 1.005 MB / 0.9121 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=146): time 3.106e-06/0.7897, allocations: 0 / 0.9121 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146): time 0.007281/0.797, allocations: 2.95 MB / 0.915 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.7972, allocations: 193.2 kB / 0.9152 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/0.8, allocations: 1.787 MB / 0.9169 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.8002, allocations: 69.64 kB / 0.917 GB, free: 6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009768/0.8012, allocations: 0.8389 MB / 0.9178 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005588/0.8018, allocations: 481 kB / 0.9183 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004957/0.8023, allocations: 258.7 kB / 0.9185 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002307/0.8025, allocations: 357.9 kB / 0.9188 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.8038, allocations: 0.596 MB / 0.9194 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.8054, allocations: 0.7936 MB / 0.9202 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.8079, allocations: 1.329 MB / 0.9215 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.808, allocations: 4 kB / 0.9215 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004458/0.8124, allocations: 1.807 MB / 0.9233 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.8125, allocations: 4 kB / 0.9233 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.8125, allocations: 3.938 kB / 0.9233 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.8137, allocations: 220.1 kB / 0.9235 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.8153, allocations: 331.6 kB / 0.9238 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007465/0.8228, allocations: 7.31 MB / 0.9309 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.8246, allocations: 166.8 kB / 0.9311 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.8248, allocations: 59.91 kB / 0.9312 GB, free: 6.637 MB / 0.6544 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.001303/0.8261, allocations: 487.1 kB / 0.9316 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007002/0.8268, allocations: 177.8 kB / 0.9318 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005282/0.8321, allocations: 2.129 MB / 0.9339 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.8321, allocations: 16 kB / 0.9339 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.8322, allocations: 4 kB / 0.9339 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.8322, allocations: 11.97 kB / 0.9339 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008252/0.8404, allocations: 3.983 MB / 0.9378 GB, free: 15.72 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.8405, allocations: 4 kB / 0.9378 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.842, allocations: 319.5 kB / 0.9381 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009897/0.843, allocations: 208.1 kB / 0.9383 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.8431, allocations: 39.97 kB / 0.9383 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006933/0.8501, allocations: 7.356 MB / 0.9455 GB, free: 7.086 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8501, allocations: 0 / 0.9455 GB, free: 7.086 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004875/0.855, allocations: 1.994 MB / 0.9475 GB, free: 5.059 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.8563, allocations: 466.3 kB / 0.9479 GB, free: 4.582 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004576/0.8567, allocations: 32 kB / 0.9479 GB, free: 4.551 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/0.8584, allocations: 102.3 kB / 0.948 GB, free: 4.453 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/0.8587, allocations: 109.2 kB / 0.9481 GB, free: 4.344 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/0.859, allocations: 75.94 kB / 0.9482 GB, free: 4.27 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002284/0.8613, allocations: 1.281 MB / 0.9495 GB, free: 2.992 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8613, allocations: 0 / 0.9495 GB, free: 2.992 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002306/0.8636, allocations: 0.6781 MB / 0.9501 GB, free: 2.312 MB / 0.67 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.002676/0.8663, allocations: 0.7523 MB / 0.9509 GB, free: 1.742 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006068/0.8723, allocations: 2.519 MB / 0.9533 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.8724, allocations: 4.562 kB / 0.9533 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002444/0.8748, allocations: 1.418 MB / 0.9547 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/0.8779, allocations: 0.5534 MB / 0.9552 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007933/0.8858, allocations: 3.743 MB / 0.9589 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.8875, allocations: 1.541 MB / 0.9604 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002245/0.8897, allocations: 0.5086 MB / 0.9609 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006058/0.8903, allocations: 171.4 kB / 0.9611 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of SimCode: time 1.072e-06/0.8903, allocations: 0 / 0.9611 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of Templates: time 0.06044/0.9508, allocations: 31.85 MB / 0.9922 GB, free: 7.637 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)