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.0012/0.0012, allocations: 107.5 kB / 16.41 MB, free: 6.465 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.001191/0.001191, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002382/0.002382, allocations: 293 kB / 291.5 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 0.9673/0.9673, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 87.86 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4803, allocations: 86.99 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1712/0.6515, allocations: 154 MB / 0.9175 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.6649, allocations: 10.48 MB / 0.9277 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008595/0.6658, allocations: 23.88 kB / 0.9277 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.6668, allocations: 269.8 kB / 0.928 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.6699, allocations: 0.9304 MB / 0.9289 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.6727, allocations: 1.079 MB / 0.9299 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001984/0.6747, allocations: 1.64 MB / 0.9315 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.6764, allocations: 1.183 MB / 0.9327 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.6786, allocations: 0.7119 MB / 0.9334 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.6798, allocations: 0.6107 MB / 0.934 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003569/0.6802, allocations: 132 kB / 0.9341 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.6824, allocations: 1.034 MB / 0.9351 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.6828, allocations: 382.8 kB / 0.9355 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007557/0.6836, allocations: 0.6489 MB / 0.9361 GB, free: 6.152 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00318/0.6867, allocations: 2.181 MB / 0.9382 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6868, allocations: 3.938 kB / 0.9382 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6868, allocations: 0 / 0.9382 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.607e-05/0.6868, allocations: 0 / 0.9382 GB, free: 3.961 MB / 0.7012 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.00368/0.6905, allocations: 1.695 MB / 0.9399 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.6906, allocations: 8.031 kB / 0.9399 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.6923, allocations: 270.1 kB / 0.9402 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.6938, allocations: 0.9095 MB / 0.9411 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/0.6938, allocations: 70 kB / 0.9411 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.694, allocations: 96 kB / 0.9412 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.6961, allocations: 1.114 MB / 0.9423 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.6961, allocations: 3.938 kB / 0.9423 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.6962, allocations: 44 kB / 0.9423 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.6962, allocations: 24 kB / 0.9424 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.6985, allocations: 1.319 MB / 0.9437 GB, free: 14.27 MB / 0.7169 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.005021/0.7035, allocations: 3.183 MB / 0.9468 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.7055, allocations: 1.105 MB / 0.9478 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007662/0.7063, allocations: 420.6 kB / 0.9482 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.7066, allocations: 134 kB / 0.9484 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/0.7077, allocations: 0.6201 MB / 0.949 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=95): time 2.655e-06/0.7077, allocations: 7.938 kB / 0.949 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95): time 0.004185/0.7119, allocations: 1.627 MB / 0.9506 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/0.712, allocations: 192.9 kB / 0.9508 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.7131, allocations: 0.8134 MB / 0.9516 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/0.7132, allocations: 45.7 kB / 0.9516 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/0.7136, allocations: 472.4 kB / 0.9521 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.7139, allocations: 307.5 kB / 0.9523 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000313/0.7142, allocations: 182.5 kB / 0.9525 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7143, allocations: 341.9 kB / 0.9528 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007372/0.7151, allocations: 349.8 kB / 0.9532 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008355/0.7159, allocations: 481.6 kB / 0.9536 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.7174, allocations: 0.792 MB / 0.9544 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7174, allocations: 0 / 0.9544 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002529/0.7199, allocations: 1.088 MB / 0.9555 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.72, allocations: 4 kB / 0.9555 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.72, allocations: 4 kB / 0.9555 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007271/0.7207, allocations: 109.7 kB / 0.9556 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009203/0.7217, allocations: 207.7 kB / 0.9558 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4262/1.148, allocations: 3.06 MB / 0.9588 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.149, allocations: 114.8 kB / 0.9589 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/1.149, allocations: 41.09 kB / 0.9589 GB, free: 186.5 MB / 0.7169 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.0006508/1.15, allocations: 304.5 kB / 0.9592 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/1.15, allocations: 104.8 kB / 0.9593 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003387/1.153, allocations: 1.318 MB / 0.9606 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.154, allocations: 10.78 kB / 0.9606 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.154, allocations: 2.375 kB / 0.9606 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/1.154, allocations: 9.547 kB / 0.9606 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/1.158, allocations: 2.415 MB / 0.963 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.158, allocations: 0 / 0.963 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008436/1.159, allocations: 194 kB / 0.9632 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000561/1.159, allocations: 106.3 kB / 0.9633 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/1.159, allocations: 27.34 kB / 0.9633 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/1.162, allocations: 3.095 MB / 0.9663 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.162, allocations: 0.9062 kB / 0.9663 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/1.164, allocations: 1.237 MB / 0.9675 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/1.165, allocations: 309.2 kB / 0.9678 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/1.165, allocations: 23.66 kB / 0.9678 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/1.166, allocations: 82.16 kB / 0.9679 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/1.166, allocations: 86.59 kB / 0.968 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-05/1.166, allocations: 43.47 kB / 0.968 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007465/1.167, allocations: 0.5692 MB / 0.9686 GB, free: 181 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.167, allocations: 0 / 0.9686 GB, free: 181 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001215/1.168, allocations: 445 kB / 0.969 GB, free: 180.9 MB / 0.7169 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.001613/1.17, allocations: 0.714 MB / 0.9697 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002109/1.172, allocations: 1.142 MB / 0.9708 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.172, allocations: 10.16 kB / 0.9708 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/1.173, allocations: 0.7333 MB / 0.9716 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.174, allocations: 352.7 kB / 0.9719 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/1.178, allocations: 2.155 MB / 0.974 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/1.179, allocations: 1.099 MB / 0.9751 GB, free: 178 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/1.179, allocations: 136.9 kB / 0.9752 GB, free: 178 MB / 0.7169 GB Notification: Performance of SimCode: time 9.12e-07/1.179, allocations: 0 / 0.9752 GB, free: 178 MB / 0.7169 GB Notification: Performance of Templates: time 0.02467/1.204, allocations: 27.36 MB / 1.002 GB, free: 151.4 MB / 0.7169 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)