Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 107.2 kB / 15.99 MB, free: 5.895 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.001574/0.001574, allocations: 191.7 kB / 16.91 MB, free: 5.746 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 13.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002425/0.002425, allocations: 290 kB / 291 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.151/1.151, allocations: 178.5 MB / 0.5076 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002865/0.002865, allocations: 95.84 kB / 0.6066 GB, free: 9.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1801, allocations: 89.14 MB / 0.6936 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4075/0.5876, allocations: 152.3 MB / 0.8424 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.6031, allocations: 10.43 MB / 0.8526 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.6045, allocations: 25.53 kB / 0.8526 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.6055, allocations: 226.2 kB / 0.8528 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.6088, allocations: 0.8803 MB / 0.8537 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.6116, allocations: 0.9732 MB / 0.8546 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002167/0.6138, allocations: 1.711 MB / 0.8563 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.6154, allocations: 1.149 MB / 0.8574 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.6179, allocations: 0.7208 MB / 0.8581 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008063/0.6187, allocations: 0.6378 MB / 0.8587 GB, free: 320 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.6189, allocations: 133.5 kB / 0.8589 GB, free: 320 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.6209, allocations: 1.007 MB / 0.8598 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.6212, allocations: 379.1 kB / 0.8602 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006841/0.6219, allocations: 0.6718 MB / 0.8609 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.6241, allocations: 1.648 MB / 0.8625 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6241, allocations: 0 / 0.8625 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6241, allocations: 0 / 0.8625 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.6241, allocations: 4 kB / 0.8625 GB, free: 13.85 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003132/0.6273, allocations: 1.703 MB / 0.8641 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6273, allocations: 8.031 kB / 0.8641 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.6289, allocations: 270.1 kB / 0.8644 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.6303, allocations: 0.8784 MB / 0.8653 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/0.6304, allocations: 77.94 kB / 0.8653 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.6305, allocations: 95.94 kB / 0.8654 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.6325, allocations: 1.106 MB / 0.8665 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.6326, allocations: 0 / 0.8665 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.6327, allocations: 44 kB / 0.8666 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.6327, allocations: 24 kB / 0.8666 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.635, allocations: 1.319 MB / 0.8679 GB, free: 8.203 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.005533/0.6406, allocations: 3.437 MB / 0.8712 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.6427, allocations: 1.102 MB / 0.8723 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007738/0.6434, allocations: 420.6 kB / 0.8727 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.6437, allocations: 142 kB / 0.8728 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.6449, allocations: 0.6176 MB / 0.8734 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 2.405e-06/0.6449, allocations: 4 kB / 0.8734 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.004242/0.6491, allocations: 1.635 MB / 0.875 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.6493, allocations: 188.9 kB / 0.8752 GB, free: 364 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.6505, allocations: 0.8057 MB / 0.876 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.6506, allocations: 45.7 kB / 0.876 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004153/0.651, allocations: 464.4 kB / 0.8765 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.6513, allocations: 307.5 kB / 0.8768 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.6516, allocations: 190.5 kB / 0.877 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.6518, allocations: 338 kB / 0.8773 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007258/0.6525, allocations: 353.8 kB / 0.8776 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008797/0.6534, allocations: 477.6 kB / 0.8781 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.6549, allocations: 0.7882 MB / 0.8788 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.655, allocations: 4 kB / 0.8789 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0026/0.6576, allocations: 1.08 MB / 0.8799 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.6576, allocations: 4 kB / 0.8799 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.6576, allocations: 64 / 0.8799 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000756/0.6584, allocations: 121.6 kB / 0.88 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009137/0.6593, allocations: 211.7 kB / 0.8802 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.6627, allocations: 3.069 MB / 0.8832 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.6638, allocations: 117.4 kB / 0.8833 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/0.6639, allocations: 43.91 kB / 0.8834 GB, free: 7.621 MB / 0.6387 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005778/0.6645, allocations: 311.9 kB / 0.8837 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.6647, allocations: 102.7 kB / 0.8838 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/0.6677, allocations: 1.315 MB / 0.8851 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.6677, allocations: 12 kB / 0.8851 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6677, allocations: 3.984 kB / 0.8851 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.6677, allocations: 7.984 kB / 0.8851 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004252/0.672, allocations: 2.427 MB / 0.8875 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.672, allocations: 0 / 0.8875 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.6728, allocations: 183.8 kB / 0.8876 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005656/0.6734, allocations: 109.6 kB / 0.8877 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.6735, allocations: 35.91 kB / 0.8878 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/0.6767, allocations: 3.092 MB / 0.8908 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6767, allocations: 8 kB / 0.8908 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.6794, allocations: 1.227 MB / 0.892 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.6799, allocations: 315.5 kB / 0.8923 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.6801, allocations: 24 kB / 0.8923 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008142/0.6809, allocations: 84.33 kB / 0.8924 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.6811, allocations: 80.89 kB / 0.8925 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6812, allocations: 51.91 kB / 0.8925 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007863/0.682, allocations: 0.5693 MB / 0.8931 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.682, allocations: 0 / 0.8931 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001194/0.6832, allocations: 463 kB / 0.8935 GB, free: 12.83 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002138/0.6853, allocations: 0.716 MB / 0.8942 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003189/0.6885, allocations: 1.381 MB / 0.8956 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6885, allocations: 0 / 0.8956 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.6899, allocations: 0.7488 MB / 0.8963 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.6914, allocations: 355.3 kB / 0.8966 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.6954, allocations: 2.528 MB / 0.8991 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007849/0.6962, allocations: 1.099 MB / 0.9002 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/0.6967, allocations: 123.4 kB / 0.9003 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.6967, allocations: 3.938 kB / 0.9003 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of Templates: time 0.03757/0.7343, allocations: 27.4 MB / 0.9271 GB, free: 10.67 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)