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.001673/0.001673, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001986/0.001986, allocations: 195.6 kB / 16.14 MB, free: 6.637 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 286.6 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.094/1.094, allocations: 178.6 MB / 0.5068 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 97.47 kB / 0.6057 GB, free: 25.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.197, allocations: 89.15 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5248/0.7219, allocations: 166.1 MB / 0.855 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0249/0.7468, allocations: 17.43 MB / 0.872 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/0.7505, allocations: 30.16 kB / 0.872 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.7525, allocations: 490 kB / 0.8725 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005731/0.7583, allocations: 1.585 MB / 0.8741 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.7619, allocations: 1.284 MB / 0.8753 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00417/0.7661, allocations: 3.112 MB / 0.8783 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.7686, allocations: 1.805 MB / 0.8801 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005943/0.7745, allocations: 1.278 MB / 0.8814 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.7763, allocations: 1.105 MB / 0.8824 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003292/0.7766, allocations: 123.9 kB / 0.8826 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.7801, allocations: 1.571 MB / 0.8841 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007616/0.7808, allocations: 0.7008 MB / 0.8848 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.7823, allocations: 1.127 MB / 0.8859 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004962/0.7873, allocations: 3.516 MB / 0.8893 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7873, allocations: 0 / 0.8893 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7873, allocations: 4 kB / 0.8893 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.05e-05/0.7874, allocations: 0 / 0.8893 GB, free: 2.832 MB / 0.6075 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.005192/0.7926, allocations: 2.782 MB / 0.892 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.7926, allocations: 8.031 kB / 0.892 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003812/0.7964, allocations: 0.5628 MB / 0.8926 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002429/0.7989, allocations: 1.6 MB / 0.8942 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.799, allocations: 127.4 kB / 0.8943 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.7993, allocations: 179.9 kB / 0.8944 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.8027, allocations: 1.96 MB / 0.8964 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.8027, allocations: 0 / 0.8964 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.8029, allocations: 76 kB / 0.8964 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.8029, allocations: 40 kB / 0.8965 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00371/0.8067, allocations: 2.117 MB / 0.8985 GB, free: 9.215 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.009929/0.8166, allocations: 6.236 MB / 0.9046 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003716/0.8203, allocations: 2.119 MB / 0.9067 GB, free: 444 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.822, allocations: 0.7726 MB / 0.9074 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006546/0.8227, allocations: 433.6 kB / 0.9079 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001956/0.8246, allocations: 1.021 MB / 0.9089 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=146): time 3.407e-06/0.8246, allocations: 0 / 0.9089 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146): time 0.007825/0.8325, allocations: 2.985 MB / 0.9118 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.8326, allocations: 197.2 kB / 0.912 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/0.8355, allocations: 1.826 MB / 0.9137 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002245/0.8357, allocations: 61.64 kB / 0.9138 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.8369, allocations: 0.8507 MB / 0.9146 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007377/0.8376, allocations: 485 kB / 0.9151 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005317/0.8382, allocations: 254.8 kB / 0.9153 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0003549/0.8385, allocations: 365.9 kB / 0.9157 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.8399, allocations: 0.5999 MB / 0.9163 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.8414, allocations: 0.8208 MB / 0.9171 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00272/0.8442, allocations: 1.357 MB / 0.9184 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.8442, allocations: 0 / 0.9184 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004593/0.8488, allocations: 1.838 MB / 0.9202 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.8488, allocations: 11.94 kB / 0.9202 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.8488, allocations: 0 / 0.9202 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.8501, allocations: 216.2 kB / 0.9204 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.8519, allocations: 335.5 kB / 0.9207 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007543/0.8594, allocations: 6.815 MB / 0.9274 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.8615, allocations: 189.3 kB / 0.9276 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.8616, allocations: 59.95 kB / 0.9276 GB, free: 9.922 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 (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.001075/0.8627, allocations: 499.9 kB / 0.9281 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00045/0.8632, allocations: 177.8 kB / 0.9283 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005442/0.8686, allocations: 2.148 MB / 0.9304 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.8687, allocations: 16 kB / 0.9304 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.8687, allocations: 4 kB / 0.9304 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.8687, allocations: 11.91 kB / 0.9304 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008197/0.8769, allocations: 4.018 MB / 0.9343 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.877, allocations: 0 / 0.9343 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.8787, allocations: 327.6 kB / 0.9346 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.8798, allocations: 212 kB / 0.9348 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.8799, allocations: 43.91 kB / 0.9349 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007081/0.887, allocations: 6.835 MB / 0.9416 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.887, allocations: 0 / 0.9416 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00496/0.892, allocations: 2.014 MB / 0.9435 GB, free: 8.805 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.893, allocations: 474.2 kB / 0.944 GB, free: 8.32 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/0.8933, allocations: 35.91 kB / 0.944 GB, free: 8.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.8948, allocations: 136.7 kB / 0.9441 GB, free: 8.152 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.8951, allocations: 113.2 kB / 0.9442 GB, free: 8.043 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/0.8953, allocations: 75.94 kB / 0.9443 GB, free: 7.969 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00197/0.8973, allocations: 1.302 MB / 0.9456 GB, free: 6.672 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8973, allocations: 0 / 0.9456 GB, free: 6.672 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002073/0.8993, allocations: 0.6898 MB / 0.9463 GB, free: 5.98 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.002516/0.9019, allocations: 0.7578 MB / 0.947 GB, free: 5.406 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004227/0.9061, allocations: 2.102 MB / 0.9491 GB, free: 3.238 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.9061, allocations: 4.547 kB / 0.9491 GB, free: 3.234 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002754/0.9089, allocations: 1.43 MB / 0.9505 GB, free: 1.742 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.9118, allocations: 0.5058 MB / 0.951 GB, free: 1.242 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00945/0.9213, allocations: 4.761 MB / 0.9556 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.9227, allocations: 1.537 MB / 0.9571 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00237/0.9251, allocations: 0.4969 MB / 0.9576 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/0.9258, allocations: 171.4 kB / 0.9578 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of SimCode: time 1.062e-06/0.9258, allocations: 4 kB / 0.9578 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of Templates: time 0.06036/0.9861, allocations: 30.9 MB / 0.9879 GB, free: 11.67 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)