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.001326/0.001326, allocations: 102.7 kB / 16.36 MB, free: 5.824 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.001312/0.001312, allocations: 193.4 kB / 17.29 MB, free: 5.48 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 286.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8983/0.8983, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 92.72 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1543, allocations: 86.97 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4201/0.5745, allocations: 167.2 MB / 0.8449 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.5933, allocations: 17.23 MB / 0.8617 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.5943, allocations: 31.81 kB / 0.8617 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.5958, allocations: 0.5313 MB / 0.8623 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004055/0.5998, allocations: 1.691 MB / 0.8639 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.603, allocations: 1.422 MB / 0.8653 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003116/0.6062, allocations: 2.686 MB / 0.8679 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.6085, allocations: 2.001 MB / 0.8699 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003389/0.6119, allocations: 1.391 MB / 0.8712 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.6131, allocations: 1.097 MB / 0.8723 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003127/0.6135, allocations: 224 kB / 0.8725 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.6163, allocations: 1.552 MB / 0.874 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006512/0.6169, allocations: 0.7985 MB / 0.8748 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.618, allocations: 1.189 MB / 0.876 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004214/0.6223, allocations: 3.547 MB / 0.8794 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6223, allocations: 0 / 0.8794 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6223, allocations: 8 kB / 0.8794 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.097e-05/0.6223, allocations: 0 / 0.8794 GB, free: 3.723 MB / 0.6387 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.004518/0.6269, allocations: 2.76 MB / 0.8821 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.6269, allocations: 8.031 kB / 0.8822 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/0.6306, allocations: 0.5629 MB / 0.8827 GB, free: 336 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.6332, allocations: 1.632 MB / 0.8843 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.493e-05/0.6333, allocations: 131.4 kB / 0.8844 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.6335, allocations: 168 kB / 0.8846 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003081/0.6366, allocations: 1.96 MB / 0.8865 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.6367, allocations: 4 kB / 0.8865 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.6368, allocations: 72 kB / 0.8866 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.6369, allocations: 40 kB / 0.8866 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003342/0.6402, allocations: 2.12 MB / 0.8887 GB, free: 10.1 MB / 0.6544 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.008491/0.6487, allocations: 5.81 MB / 0.8943 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.6519, allocations: 2.124 MB / 0.8964 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.6531, allocations: 0.7686 MB / 0.8972 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00054/0.6536, allocations: 429.6 kB / 0.8976 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001652/0.6553, allocations: 1.025 MB / 0.8986 GB, free: 15.52 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 3.005e-06/0.6553, allocations: 0 / 0.8986 GB, free: 15.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=146): time 0.006399/0.6617, allocations: 2.981 MB / 0.9015 GB, free: 12.43 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/0.6618, allocations: 201.2 kB / 0.9017 GB, free: 12.18 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.664, allocations: 1.829 MB / 0.9035 GB, free: 10.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.6642, allocations: 61.7 kB / 0.9035 GB, free: 10.28 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006159/0.6648, allocations: 0.8392 MB / 0.9044 GB, free: 9.426 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/0.6652, allocations: 488.9 kB / 0.9048 GB, free: 8.945 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.6656, allocations: 254.8 kB / 0.9051 GB, free: 8.691 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.6657, allocations: 357.9 kB / 0.9054 GB, free: 8.336 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.6668, allocations: 0.6077 MB / 0.906 GB, free: 7.727 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.6681, allocations: 0.8129 MB / 0.9068 GB, free: 6.863 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002275/0.6704, allocations: 1.357 MB / 0.9081 GB, free: 5.492 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6704, allocations: 0 / 0.9081 GB, free: 5.492 MB / 0.67 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003828/0.6742, allocations: 1.838 MB / 0.9099 GB, free: 3.629 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.6743, allocations: 12 kB / 0.9099 GB, free: 3.617 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6743, allocations: 7.938 kB / 0.9099 GB, free: 3.609 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.6753, allocations: 208.1 kB / 0.9101 GB, free: 3.391 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.6769, allocations: 343.5 kB / 0.9105 GB, free: 3.055 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005411/0.6823, allocations: 7.312 MB / 0.9176 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.6839, allocations: 170.8 kB / 0.9178 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.6841, allocations: 59.95 kB / 0.9178 GB, free: 10.82 MB / 0.6856 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 (153): * Single equations (assignments): 148 * 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.0008613/0.6849, allocations: 487.2 kB / 0.9183 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/0.6853, allocations: 185.8 kB / 0.9185 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004181/0.6895, allocations: 2.144 MB / 0.9206 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.6895, allocations: 23.97 kB / 0.9206 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.6895, allocations: 0 / 0.9206 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.6895, allocations: 11.91 kB / 0.9206 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006624/0.6961, allocations: 4.01 MB / 0.9245 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.6962, allocations: 0 / 0.9245 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.6976, allocations: 323.5 kB / 0.9248 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008013/0.6984, allocations: 212 kB / 0.925 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.805e-05/0.6985, allocations: 43.91 kB / 0.9251 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005609/0.7041, allocations: 7.357 MB / 0.9322 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7042, allocations: 0 / 0.9322 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004096/0.7083, allocations: 2.016 MB / 0.9342 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000875/0.7091, allocations: 470.3 kB / 0.9347 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.7094, allocations: 35.91 kB / 0.9347 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.7106, allocations: 108.8 kB / 0.9348 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/0.7108, allocations: 117.1 kB / 0.9349 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.711, allocations: 71.95 kB / 0.935 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001561/0.7125, allocations: 1.31 MB / 0.9363 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7126, allocations: 0 / 0.9363 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001542/0.7141, allocations: 0.6625 MB / 0.9369 GB, free: 6.379 MB / 0.7012 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.001794/0.7159, allocations: 0.7442 MB / 0.9376 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003284/0.7192, allocations: 2.102 MB / 0.9397 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.7192, allocations: 8.547 kB / 0.9397 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.7211, allocations: 1.418 MB / 0.9411 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.7232, allocations: 0.5349 MB / 0.9416 GB, free: 1.648 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006844/0.73, allocations: 3.965 MB / 0.9455 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.7311, allocations: 1.537 MB / 0.947 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001606/0.7327, allocations: 0.4889 MB / 0.9474 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005014/0.7332, allocations: 175.4 kB / 0.9476 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/0.7333, allocations: 0 / 0.9476 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of Templates: time 0.2986/1.032, allocations: 31.32 MB / 0.9782 GB, free: 237.4 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)