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.001471/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00194/0.00194, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 270.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9296/0.9296, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001639, allocations: 89.48 kB / 0.5945 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1825, allocations: 86.99 MB / 0.6794 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4933/0.6759, allocations: 164.9 MB / 0.8405 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02204/0.6979, allocations: 17.27 MB / 0.8573 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.7001, allocations: 33.97 kB / 0.8574 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.7019, allocations: 465.2 kB / 0.8578 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006165/0.7081, allocations: 1.493 MB / 0.8593 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003856/0.712, allocations: 1.268 MB / 0.8605 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003837/0.7158, allocations: 2.915 MB / 0.8634 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.7185, allocations: 1.86 MB / 0.8652 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005451/0.7239, allocations: 1.249 MB / 0.8664 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.7258, allocations: 1.074 MB / 0.8674 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002964/0.7261, allocations: 118.3 kB / 0.8675 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.7292, allocations: 1.58 MB / 0.8691 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006018/0.7299, allocations: 0.6927 MB / 0.8698 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.731, allocations: 1.09 MB / 0.8708 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00382/0.7348, allocations: 3.452 MB / 0.8742 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7348, allocations: 0 / 0.8742 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7348, allocations: 0 / 0.8742 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.761e-05/0.7349, allocations: 2.812 kB / 0.8742 GB, free: 12.09 MB / 0.5919 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.004271/0.7391, allocations: 2.754 MB / 0.8769 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7392, allocations: 10.19 kB / 0.8769 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.7427, allocations: 0.5651 MB / 0.8775 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.745, allocations: 1.609 MB / 0.879 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.7451, allocations: 130 kB / 0.8792 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.7453, allocations: 171.6 kB / 0.8793 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/0.7486, allocations: 1.951 MB / 0.8812 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.7486, allocations: 7.938 kB / 0.8812 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.7488, allocations: 77.73 kB / 0.8813 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.7488, allocations: 39.66 kB / 0.8813 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003247/0.7521, allocations: 2.112 MB / 0.8834 GB, free: 6.387 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.009084/0.7611, allocations: 5.851 MB / 0.8891 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/0.7647, allocations: 2.133 MB / 0.8912 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.766, allocations: 0.7691 MB / 0.892 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005873/0.7666, allocations: 429.6 kB / 0.8924 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00181/0.7684, allocations: 1.025 MB / 0.8934 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 4.358e-06/0.7685, allocations: 4 kB / 0.8934 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006826/0.7753, allocations: 2.977 MB / 0.8963 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.7754, allocations: 197.2 kB / 0.8965 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/0.778, allocations: 1.837 MB / 0.8983 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000184/0.7782, allocations: 57.7 kB / 0.8983 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007782/0.779, allocations: 0.843 MB / 0.8991 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/0.7794, allocations: 485 kB / 0.8996 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/0.7798, allocations: 258.7 kB / 0.8998 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.78, allocations: 361.9 kB / 0.9002 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.7811, allocations: 0.6038 MB / 0.9008 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.7825, allocations: 0.8169 MB / 0.9016 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/0.7849, allocations: 1.353 MB / 0.9029 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7849, allocations: 3.938 kB / 0.9029 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00425/0.7891, allocations: 1.83 MB / 0.9047 GB, free: 476 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.7892, allocations: 7.938 kB / 0.9047 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.7892, allocations: 4 kB / 0.9047 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.7903, allocations: 208.1 kB / 0.9049 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.7919, allocations: 343.5 kB / 0.9052 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005773/0.7977, allocations: 6.803 MB / 0.9119 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.7997, allocations: 189.4 kB / 0.912 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.7998, allocations: 55.95 kB / 0.9121 GB, free: 8.184 MB / 0.6231 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.001049/0.8009, allocations: 496 kB / 0.9126 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004183/0.8013, allocations: 185.7 kB / 0.9128 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004516/0.8059, allocations: 2.145 MB / 0.9148 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.8059, allocations: 16 kB / 0.9149 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8059, allocations: 4 kB / 0.9149 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.8059, allocations: 7.969 kB / 0.9149 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007177/0.8131, allocations: 4.032 MB / 0.9188 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.8131, allocations: 0 / 0.9188 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.8146, allocations: 315.6 kB / 0.9191 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000954/0.8156, allocations: 216 kB / 0.9193 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.8157, allocations: 47.89 kB / 0.9194 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005824/0.8215, allocations: 6.843 MB / 0.926 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8216, allocations: 0 / 0.926 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/0.826, allocations: 2.002 MB / 0.928 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000992/0.827, allocations: 474.2 kB / 0.9285 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.8272, allocations: 28 kB / 0.9285 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.8285, allocations: 135.7 kB / 0.9286 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.8288, allocations: 117.1 kB / 0.9287 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/0.829, allocations: 67.95 kB / 0.9288 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001673/0.8307, allocations: 1.306 MB / 0.9301 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8307, allocations: 3.938 kB / 0.9301 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001755/0.8324, allocations: 0.6586 MB / 0.9307 GB, free: 4.266 MB / 0.6387 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.001838/0.8343, allocations: 0.7777 MB / 0.9315 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003676/0.838, allocations: 2.086 MB / 0.9335 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.838, allocations: 8.625 kB / 0.9335 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002123/0.8401, allocations: 1.422 MB / 0.9349 GB, free: 32 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.8424, allocations: 496 kB / 0.9354 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007771/0.8502, allocations: 4.85 MB / 0.9401 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.8514, allocations: 1.548 MB / 0.9416 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001965/0.8534, allocations: 0.4928 MB / 0.9421 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.8539, allocations: 175.3 kB / 0.9423 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/0.8539, allocations: 0 / 0.9423 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of Templates: time 0.05017/0.9041, allocations: 30.1 MB / 0.9717 GB, free: 10.65 MB / 0.6856 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)