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.00145/0.00145, allocations: 103.1 kB / 16.27 MB, free: 5.988 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.001443/0.001443, allocations: 188.9 kB / 17.2 MB, free: 5.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.298/1.298, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002183/0.002183, allocations: 281.3 kB / 291.3 MB, free: 14.53 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.3 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003362/0.003362, allocations: 94.61 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.178, allocations: 86.98 MB / 0.6808 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.4811/0.6591, allocations: 167.2 MB / 0.8441 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02192/0.6811, allocations: 17.2 MB / 0.8609 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.6826, allocations: 31.81 kB / 0.8609 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.6845, allocations: 0.5352 MB / 0.8614 GB, free: 6 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005147/0.6898, allocations: 1.69 MB / 0.8631 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003811/0.6936, allocations: 1.403 MB / 0.8644 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003351/0.697, allocations: 2.646 MB / 0.867 GB, free: 272 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003042/0.7, allocations: 2.004 MB / 0.869 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003911/0.7039, allocations: 1.38 MB / 0.8703 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.7056, allocations: 1.089 MB / 0.8714 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006159/0.7063, allocations: 220 kB / 0.8716 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.7095, allocations: 1.517 MB / 0.8731 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009627/0.7105, allocations: 0.7868 MB / 0.8739 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.7122, allocations: 1.174 MB / 0.875 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005232/0.7174, allocations: 3.458 MB / 0.8784 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.7175, allocations: 3.984 kB / 0.8784 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7175, allocations: 8 kB / 0.8784 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.636e-05/0.7176, allocations: 0 / 0.8784 GB, free: 4.609 MB / 0.6387 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.006179/0.7238, allocations: 2.722 MB / 0.881 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.7238, allocations: 12.03 kB / 0.8811 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/0.7277, allocations: 0.5512 MB / 0.8816 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.7307, allocations: 1.592 MB / 0.8832 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.7308, allocations: 131.4 kB / 0.8833 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/0.7312, allocations: 168 kB / 0.8834 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00395/0.7352, allocations: 1.944 MB / 0.8853 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.7352, allocations: 3.984 kB / 0.8853 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/0.7355, allocations: 76 kB / 0.8854 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.7355, allocations: 40 kB / 0.8855 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003792/0.7393, allocations: 2.085 MB / 0.8875 GB, free: 11.11 MB / 0.6544 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.01025/0.7496, allocations: 5.712 MB / 0.8931 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003435/0.753, allocations: 2.091 MB / 0.8951 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.7544, allocations: 0.7608 MB / 0.8958 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/0.755, allocations: 437.5 kB / 0.8963 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001865/0.7569, allocations: 0.9973 MB / 0.8972 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 3.467e-06/0.7569, allocations: 0 / 0.8972 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of matching and sorting (n=146): time 0.007/0.7639, allocations: 2.961 MB / 0.9001 GB, free: 13.62 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.7641, allocations: 197.2 kB / 0.9003 GB, free: 13.39 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.7668, allocations: 1.784 MB / 0.9021 GB, free: 11.59 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.7671, allocations: 65.64 kB / 0.9021 GB, free: 11.52 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/0.7678, allocations: 0.8311 MB / 0.9029 GB, free: 10.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004841/0.7683, allocations: 480.9 kB / 0.9034 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004675/0.7688, allocations: 258.8 kB / 0.9036 GB, free: 9.941 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.769, allocations: 361.9 kB / 0.904 GB, free: 9.582 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.7701, allocations: 0.5882 MB / 0.9046 GB, free: 8.996 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.7715, allocations: 0.8013 MB / 0.9053 GB, free: 8.141 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.7739, allocations: 1.333 MB / 0.9066 GB, free: 6.797 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.7739, allocations: 4 kB / 0.9066 GB, free: 6.793 MB / 0.67 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004076/0.778, allocations: 1.815 MB / 0.9084 GB, free: 4.953 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.778, allocations: 4 kB / 0.9084 GB, free: 4.949 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.7781, allocations: 7.922 kB / 0.9084 GB, free: 4.941 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.7792, allocations: 212.2 kB / 0.9086 GB, free: 4.719 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.7807, allocations: 335.5 kB / 0.909 GB, free: 4.391 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006142/0.7869, allocations: 7.316 MB / 0.9161 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.7886, allocations: 162.4 kB / 0.9163 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002533/0.7889, allocations: 59.89 kB / 0.9163 GB, free: 12.15 MB / 0.6856 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.00109/0.79, allocations: 479.2 kB / 0.9168 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005486/0.7905, allocations: 181.8 kB / 0.9169 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/0.7953, allocations: 2.132 MB / 0.919 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.7954, allocations: 19.94 kB / 0.919 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7954, allocations: 0 / 0.919 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.7954, allocations: 7.969 kB / 0.9191 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007291/0.8027, allocations: 3.983 MB / 0.9229 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.8027, allocations: 0 / 0.9229 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/0.8042, allocations: 315.5 kB / 0.9232 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009086/0.8051, allocations: 208.1 kB / 0.9234 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.8053, allocations: 39.97 kB / 0.9235 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005795/0.8111, allocations: 7.365 MB / 0.9307 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8111, allocations: 0 / 0.9307 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004544/0.8156, allocations: 1.99 MB / 0.9326 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.8167, allocations: 466.4 kB / 0.9331 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003774/0.8171, allocations: 28 kB / 0.9331 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.8186, allocations: 101 kB / 0.9332 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/0.8188, allocations: 113.2 kB / 0.9333 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/0.819, allocations: 71.95 kB / 0.9334 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00187/0.8209, allocations: 1.277 MB / 0.9346 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8209, allocations: 0 / 0.9346 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001974/0.8229, allocations: 0.6586 MB / 0.9352 GB, free: 7.863 MB / 0.7012 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.001967/0.8249, allocations: 0.755 MB / 0.936 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005594/0.8305, allocations: 2.523 MB / 0.9384 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.8305, allocations: 4.562 kB / 0.9385 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002226/0.8327, allocations: 1.414 MB / 0.9398 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/0.8356, allocations: 0.5279 MB / 0.9404 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007854/0.8435, allocations: 3.797 MB / 0.9441 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.8449, allocations: 1.49 MB / 0.9455 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008418/0.8458, allocations: 195.3 kB / 0.9457 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of SimCode: time 2.796e-06/0.8458, allocations: 0 / 0.9457 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of Templates: time 0.3655/1.211, allocations: 66.57 MB / 1.011 GB, free: 216.7 MB / 0.7169 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)