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.0007624/0.0007621, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005671/0.005671, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 266.2 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9261/0.9261, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004192, allocations: 13.84 kB / 0.5987 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1925, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5266/0.7191, allocations: 162.7 MB / 0.844 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02256/0.7417, allocations: 17.04 MB / 0.8606 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.7439, allocations: 25.59 kB / 0.8607 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.7455, allocations: 450.5 kB / 0.8611 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005303/0.7509, allocations: 1.511 MB / 0.8626 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003726/0.7546, allocations: 1.271 MB / 0.8638 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00367/0.7583, allocations: 2.916 MB / 0.8667 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/0.7608, allocations: 1.724 MB / 0.8683 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005288/0.7661, allocations: 1.072 MB / 0.8694 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.7678, allocations: 0.8764 MB / 0.8703 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.7681, allocations: 51.44 kB / 0.8703 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.7714, allocations: 1.514 MB / 0.8718 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005675/0.772, allocations: 0.6016 MB / 0.8724 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.773, allocations: 0.9762 MB / 0.8733 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.777, allocations: 3.354 MB / 0.8766 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.777, allocations: 0 / 0.8766 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.777, allocations: 0 / 0.8766 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.584e-05/0.7771, allocations: 0 / 0.8766 GB, free: 11.38 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.004206/0.7813, allocations: 2.302 MB / 0.8788 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.7813, allocations: 12.03 kB / 0.8789 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003836/0.7852, allocations: 0.5747 MB / 0.8794 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002879/0.7881, allocations: 1.604 MB / 0.881 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.7882, allocations: 135.3 kB / 0.8811 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.7885, allocations: 168 kB / 0.8813 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003615/0.7921, allocations: 1.968 MB / 0.8832 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.7921, allocations: 3.938 kB / 0.8832 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.7923, allocations: 76 kB / 0.8833 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.7923, allocations: 40 kB / 0.8833 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/0.7959, allocations: 2.132 MB / 0.8854 GB, free: 2.555 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.009879/0.8058, allocations: 5.891 MB / 0.8911 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.8091, allocations: 2.141 MB / 0.8932 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.8105, allocations: 0.7816 MB / 0.894 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005886/0.8111, allocations: 437.6 kB / 0.8944 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001784/0.8129, allocations: 1.028 MB / 0.8954 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 2.795e-06/0.8129, allocations: 0 / 0.8954 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006849/0.8197, allocations: 3.02 MB / 0.8984 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.8199, allocations: 201.2 kB / 0.8986 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/0.8223, allocations: 1.826 MB / 0.9003 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001786/0.8225, allocations: 57.7 kB / 0.9004 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007926/0.8233, allocations: 0.8508 MB / 0.9012 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004481/0.8238, allocations: 485 kB / 0.9017 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.8239, allocations: 101.7 kB / 0.9018 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8241, allocations: 357.9 kB / 0.9021 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.8253, allocations: 0.6155 MB / 0.9027 GB, free: 172 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.8268, allocations: 0.8248 MB / 0.9035 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/0.8294, allocations: 1.376 MB / 0.9049 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.8295, allocations: 0 / 0.9049 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004348/0.8338, allocations: 1.862 MB / 0.9067 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.8339, allocations: 7.938 kB / 0.9067 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.8339, allocations: 0 / 0.9067 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.835, allocations: 208.2 kB / 0.9069 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.8367, allocations: 355.5 kB / 0.9072 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006539/0.8433, allocations: 6.81 MB / 0.9139 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.8452, allocations: 191.7 kB / 0.9141 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.8453, allocations: 51.97 kB / 0.9141 GB, free: 3.73 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.001095/0.8464, allocations: 0.4921 MB / 0.9146 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.8467, allocations: 181.8 kB / 0.9148 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004638/0.8514, allocations: 2.176 MB / 0.9169 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.8514, allocations: 16 kB / 0.9169 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8514, allocations: 0 / 0.9169 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.8514, allocations: 7.969 kB / 0.9169 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006882/0.8583, allocations: 4.039 MB / 0.9209 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.8584, allocations: 7.938 kB / 0.9209 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.8598, allocations: 323.6 kB / 0.9212 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009557/0.8608, allocations: 212.1 kB / 0.9214 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.792e-05/0.8609, allocations: 47.89 kB / 0.9214 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005728/0.8666, allocations: 6.843 MB / 0.9281 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8667, allocations: 0 / 0.9281 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004539/0.8712, allocations: 2.033 MB / 0.9301 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.8723, allocations: 490.2 kB / 0.9306 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.8725, allocations: 28 kB / 0.9306 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.8739, allocations: 153.3 kB / 0.9307 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/0.8741, allocations: 121.1 kB / 0.9309 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.8743, allocations: 75.94 kB / 0.9309 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001839/0.8761, allocations: 1.306 MB / 0.9322 GB, free: 360 kB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8762, allocations: 3.938 kB / 0.9322 GB, free: 356 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002088/0.8783, allocations: 0.6548 MB / 0.9329 GB, free: 15.69 MB / 0.6544 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.00192/0.8802, allocations: 0.7621 MB / 0.9336 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003747/0.8839, allocations: 2.125 MB / 0.9357 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.884, allocations: 4.547 kB / 0.9357 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.8862, allocations: 1.438 MB / 0.9371 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.8888, allocations: 0.4884 MB / 0.9376 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008454/0.8973, allocations: 4.912 MB / 0.9424 GB, free: 6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.8986, allocations: 1.548 MB / 0.9439 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002234/0.9009, allocations: 0.4967 MB / 0.9443 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.9014, allocations: 171.4 kB / 0.9445 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of SimCode: time 1.022e-06/0.9014, allocations: 0 / 0.9445 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of Templates: time 0.05198/0.9534, allocations: 29.79 MB / 0.9736 GB, free: 6.273 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)