Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009369/0.0009369, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008497/0.0008497, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001772, allocations: 277.5 kB / 291.4 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9334/0.9334, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006139/0.000614, allocations: 13.69 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1527, allocations: 88.54 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4224/0.5751, allocations: 151.8 MB / 0.8327 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.5938, allocations: 15.98 MB / 0.8483 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.595, allocations: 25.94 kB / 0.8483 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.5962, allocations: 383.8 kB / 0.8487 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.5998, allocations: 1.325 MB / 0.85 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.6026, allocations: 1.111 MB / 0.851 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002505/0.6051, allocations: 2.582 MB / 0.8536 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.6069, allocations: 1.504 MB / 0.855 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.6087, allocations: 0.9997 MB / 0.856 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.6098, allocations: 0.859 MB / 0.8569 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.6099, allocations: 53.19 kB / 0.8569 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.612, allocations: 1.005 MB / 0.8579 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005076/0.6125, allocations: 0.6089 MB / 0.8585 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.6129, allocations: 401.3 kB / 0.8589 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.6153, allocations: 2.536 MB / 0.8613 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.6154, allocations: 3.984 kB / 0.8613 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6154, allocations: 0 / 0.8613 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.169e-05/0.6154, allocations: 0 / 0.8613 GB, free: 7.387 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.003615/0.619, allocations: 2.325 MB / 0.8636 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.6191, allocations: 14.69 kB / 0.8636 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/0.6224, allocations: 0.5666 MB / 0.8642 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.6245, allocations: 1.539 MB / 0.8657 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.762e-05/0.6246, allocations: 130.6 kB / 0.8658 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.6248, allocations: 176.2 kB / 0.866 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.6278, allocations: 1.947 MB / 0.8679 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.6279, allocations: 0 / 0.8679 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.628, allocations: 75.44 kB / 0.868 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.6281, allocations: 45.56 kB / 0.868 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/0.6314, allocations: 2.12 MB / 0.8701 GB, free: 2.023 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.008139/0.6395, allocations: 5.894 MB / 0.8758 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003219/0.6427, allocations: 2.135 MB / 0.8779 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.644, allocations: 0.7737 MB / 0.8787 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/0.6446, allocations: 437.6 kB / 0.8791 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/0.6463, allocations: 1.025 MB / 0.8801 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 2.785e-06/0.6463, allocations: 0 / 0.8801 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.00642/0.6528, allocations: 3.012 MB / 0.883 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.674e-05/0.6529, allocations: 197.2 kB / 0.8832 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.6551, allocations: 1.814 MB / 0.885 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.6552, allocations: 61.69 kB / 0.885 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/0.6559, allocations: 0.8469 MB / 0.8859 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/0.6562, allocations: 484.9 kB / 0.8863 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.6563, allocations: 24 kB / 0.8864 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6565, allocations: 357.9 kB / 0.8867 GB, free: 376 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.6576, allocations: 0.6078 MB / 0.8873 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.659, allocations: 0.8131 MB / 0.8881 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.6602, allocations: 0.6857 MB / 0.8888 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6602, allocations: 4 kB / 0.8888 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00367/0.6639, allocations: 1.846 MB / 0.8906 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.6639, allocations: 4 kB / 0.8906 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6639, allocations: 0.75 kB / 0.8906 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009697/0.6649, allocations: 216.1 kB / 0.8908 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.6665, allocations: 339.6 kB / 0.8911 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005475/0.672, allocations: 6.811 MB / 0.8977 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.6734, allocations: 196.5 kB / 0.8979 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.6736, allocations: 55.97 kB / 0.898 GB, free: 4.043 MB / 0.6075 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008274/0.6744, allocations: 492.2 kB / 0.8985 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.6747, allocations: 185.8 kB / 0.8986 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/0.6792, allocations: 2.16 MB / 0.9007 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.6793, allocations: 19.95 kB / 0.9008 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6793, allocations: 4 kB / 0.9008 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.6793, allocations: 7.969 kB / 0.9008 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006463/0.6858, allocations: 4.034 MB / 0.9047 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6858, allocations: 0 / 0.9047 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.6873, allocations: 331.5 kB / 0.905 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009/0.6882, allocations: 204.1 kB / 0.9052 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.707e-05/0.6883, allocations: 43.95 kB / 0.9053 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005409/0.6937, allocations: 6.847 MB / 0.9119 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6938, allocations: 0 / 0.9119 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003887/0.6976, allocations: 2.018 MB / 0.9139 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007601/0.6984, allocations: 498.2 kB / 0.9144 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.6986, allocations: 28 kB / 0.9144 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.6999, allocations: 153.4 kB / 0.9146 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.7001, allocations: 109.1 kB / 0.9147 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.7003, allocations: 75.94 kB / 0.9147 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001683/0.702, allocations: 1.294 MB / 0.916 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.702, allocations: 0 / 0.916 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00163/0.7036, allocations: 0.6703 MB / 0.9167 GB, free: 60 kB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/0.7053, allocations: 0.7461 MB / 0.9174 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003416/0.7088, allocations: 2.113 MB / 0.9195 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7088, allocations: 4.547 kB / 0.9195 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002022/0.7108, allocations: 1.442 MB / 0.9209 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.7129, allocations: 492.6 kB / 0.9213 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007711/0.7207, allocations: 4.786 MB / 0.926 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.7218, allocations: 1.533 MB / 0.9275 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001892/0.7237, allocations: 0.5006 MB / 0.928 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/0.7242, allocations: 167.4 kB / 0.9282 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.7242, allocations: 4 kB / 0.9282 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of Templates: time 0.04612/0.7704, allocations: 28.94 MB / 0.9564 GB, free: 7.66 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)