Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008129/0.0008131, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005181/0.005181, allocations: 169 kB / 16.26 MB, free: 6.652 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001663/0.001663, allocations: 266.5 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.9234/0.9234, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004309, allocations: 12.38 kB / 0.5986 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1858, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.5211/0.7069, allocations: 162.6 MB / 0.8439 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02095/0.7279, allocations: 17.02 MB / 0.8606 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.7294, allocations: 25.06 kB / 0.8606 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.7308, allocations: 458.9 kB / 0.861 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004421/0.7353, allocations: 1.5 MB / 0.8625 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.7386, allocations: 1.274 MB / 0.8637 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003434/0.7421, allocations: 2.886 MB / 0.8666 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002432/0.7445, allocations: 1.725 MB / 0.8682 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005183/0.7497, allocations: 1.064 MB / 0.8693 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.7514, allocations: 0.8809 MB / 0.8701 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003431/0.7518, allocations: 49.78 kB / 0.8702 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.7552, allocations: 1.505 MB / 0.8717 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005642/0.7558, allocations: 0.5831 MB / 0.8722 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.757, allocations: 0.9667 MB / 0.8732 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.7616, allocations: 3.334 MB / 0.8764 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.7617, allocations: 2.875 kB / 0.8764 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7617, allocations: 0 / 0.8764 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.573e-05/0.7617, allocations: 4 kB / 0.8764 GB, free: 11.64 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004375/0.7661, allocations: 2.266 MB / 0.8787 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.7662, allocations: 12.02 kB / 0.8787 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003743/0.7699, allocations: 0.563 MB / 0.8792 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.7726, allocations: 1.596 MB / 0.8808 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.7727, allocations: 131.3 kB / 0.8809 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/0.7729, allocations: 172 kB / 0.8811 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.7764, allocations: 1.936 MB / 0.883 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.7765, allocations: 8 kB / 0.883 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.7767, allocations: 72 kB / 0.883 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.7767, allocations: 40 kB / 0.8831 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/0.7802, allocations: 2.097 MB / 0.8851 GB, free: 2.945 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.009387/0.7896, allocations: 5.725 MB / 0.8907 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.7929, allocations: 2.107 MB / 0.8928 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.7941, allocations: 0.7659 MB / 0.8935 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/0.7948, allocations: 433.6 kB / 0.8939 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/0.7965, allocations: 1.017 MB / 0.8949 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 3.627e-06/0.7965, allocations: 0 / 0.8949 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006667/0.8032, allocations: 2.969 MB / 0.8978 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.8033, allocations: 197.2 kB / 0.898 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.8057, allocations: 1.791 MB / 0.8998 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001942/0.8059, allocations: 57.7 kB / 0.8998 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007254/0.8067, allocations: 0.831 MB / 0.9006 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000426/0.8071, allocations: 481 kB / 0.9011 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.8073, allocations: 109.7 kB / 0.9012 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.8074, allocations: 357.9 kB / 0.9015 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.8086, allocations: 0.596 MB / 0.9021 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.8099, allocations: 0.8052 MB / 0.9029 GB, free: 52 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.8122, allocations: 1.341 MB / 0.9042 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8122, allocations: 0 / 0.9042 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003939/0.8162, allocations: 1.819 MB / 0.906 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.8162, allocations: 4 kB / 0.906 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.8162, allocations: 3.938 kB / 0.906 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.8173, allocations: 224.2 kB / 0.9062 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.8189, allocations: 331.5 kB / 0.9065 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006078/0.825, allocations: 6.799 MB / 0.9132 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/0.827, allocations: 190.3 kB / 0.9133 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.8271, allocations: 59.95 kB / 0.9134 GB, free: 4.57 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 (152): * Single equations (assignments): 147 * 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.001122/0.8283, allocations: 496.5 kB / 0.9139 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/0.8286, allocations: 177.8 kB / 0.914 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004509/0.8331, allocations: 2.136 MB / 0.9161 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.8332, allocations: 16 kB / 0.9161 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.8332, allocations: 4 kB / 0.9161 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.8332, allocations: 7.969 kB / 0.9161 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006757/0.84, allocations: 3.991 MB / 0.92 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.84, allocations: 0 / 0.92 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.8414, allocations: 315.6 kB / 0.9203 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009646/0.8424, allocations: 228 kB / 0.9206 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-05/0.8425, allocations: 39.97 kB / 0.9206 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005645/0.8482, allocations: 6.838 MB / 0.9273 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8482, allocations: 0 / 0.9273 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/0.8527, allocations: 2.006 MB / 0.9292 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.8537, allocations: 482.2 kB / 0.9297 GB, free: 3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.854, allocations: 35.98 kB / 0.9297 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.8553, allocations: 148.5 kB / 0.9299 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/0.8556, allocations: 117.1 kB / 0.93 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.8558, allocations: 67.95 kB / 0.9301 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001778/0.8575, allocations: 1.281 MB / 0.9313 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.8576, allocations: 0 / 0.9313 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002073/0.8596, allocations: 0.6626 MB / 0.932 GB, free: 0.7031 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.001959/0.8616, allocations: 0.7491 MB / 0.9327 GB, free: 140 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003628/0.8652, allocations: 2.082 MB / 0.9347 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.8653, allocations: 4.562 kB / 0.9347 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/0.8674, allocations: 1.43 MB / 0.9361 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.87, allocations: 493.8 kB / 0.9366 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008337/0.8784, allocations: 4.762 MB / 0.9412 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.8797, allocations: 1.532 MB / 0.9427 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002209/0.8819, allocations: 0.4927 MB / 0.9432 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004891/0.8824, allocations: 163.4 kB / 0.9434 GB, free: 5 MB / 0.6544 GB Notification: Performance of SimCode: time 1.402e-06/0.8824, allocations: 7.938 kB / 0.9434 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of Templates: time 0.05129/0.9337, allocations: 29.57 MB / 0.9723 GB, free: 7.742 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)