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.001647/0.001647, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.001883/0.001883, allocations: 183 kB / 17.34 MB, free: 5.766 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002195/0.002195, allocations: 298.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9674/0.9674, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4727/0.4747, allocations: 86.98 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.157/0.6317, allocations: 154 MB / 0.9174 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.6455, allocations: 10.5 MB / 0.9277 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009778/0.6465, allocations: 19.88 kB / 0.9277 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000938/0.6475, allocations: 273.8 kB / 0.928 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.6504, allocations: 0.9419 MB / 0.9289 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.6529, allocations: 1.079 MB / 0.9299 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001872/0.6548, allocations: 1.64 MB / 0.9316 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.6564, allocations: 1.191 MB / 0.9327 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.6583, allocations: 0.7167 MB / 0.9334 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007082/0.659, allocations: 0.6067 MB / 0.934 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.6592, allocations: 144 kB / 0.9341 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.6611, allocations: 1.026 MB / 0.9351 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.6615, allocations: 382.8 kB / 0.9355 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006199/0.6621, allocations: 0.6528 MB / 0.9361 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002962/0.6651, allocations: 2.185 MB / 0.9383 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6651, allocations: 0 / 0.9383 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6651, allocations: 0 / 0.9383 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.543e-05/0.6651, allocations: 0 / 0.9383 GB, free: 3.91 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.003335/0.6685, allocations: 1.699 MB / 0.9399 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.6685, allocations: 12.03 kB / 0.94 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.6702, allocations: 270.1 kB / 0.9402 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.6715, allocations: 0.9018 MB / 0.9411 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.6716, allocations: 77.94 kB / 0.9412 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.6717, allocations: 92 kB / 0.9413 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.6737, allocations: 1.113 MB / 0.9423 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.6737, allocations: 8 kB / 0.9423 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.697e-05/0.6738, allocations: 40 kB / 0.9424 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.6738, allocations: 24 kB / 0.9424 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.676, allocations: 1.319 MB / 0.9437 GB, free: 14.22 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.004901/0.6809, allocations: 3.182 MB / 0.9468 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.6829, allocations: 1.11 MB / 0.9479 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007428/0.6836, allocations: 422.6 kB / 0.9483 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.6839, allocations: 134 kB / 0.9484 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.685, allocations: 0.6216 MB / 0.949 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=95): time 2.645e-06/0.685, allocations: 3.938 kB / 0.949 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95): time 0.004369/0.6894, allocations: 1.624 MB / 0.9506 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.6895, allocations: 196.9 kB / 0.9508 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.6907, allocations: 0.8095 MB / 0.9516 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.6908, allocations: 45.7 kB / 0.9516 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/0.6913, allocations: 464.5 kB / 0.9521 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.6916, allocations: 311.5 kB / 0.9524 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/0.6919, allocations: 182.5 kB / 0.9526 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6921, allocations: 337.9 kB / 0.9529 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007777/0.6928, allocations: 357.8 kB / 0.9532 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008306/0.6937, allocations: 481.5 kB / 0.9537 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.6952, allocations: 0.7843 MB / 0.9544 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6952, allocations: 0 / 0.9544 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002508/0.6977, allocations: 1.088 MB / 0.9555 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6977, allocations: 8 kB / 0.9555 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6977, allocations: 0 / 0.9555 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007229/0.6985, allocations: 113.7 kB / 0.9556 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009039/0.6994, allocations: 207.7 kB / 0.9558 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4027/1.102, allocations: 3.058 MB / 0.9588 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.103, allocations: 118.6 kB / 0.9589 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/1.104, allocations: 41.78 kB / 0.959 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.0006811/1.104, allocations: 306 kB / 0.9592 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/1.104, allocations: 102.5 kB / 0.9593 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/1.108, allocations: 1.32 MB / 0.9606 GB, free: 186 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/1.108, allocations: 11.59 kB / 0.9606 GB, free: 186 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.108, allocations: 4.344 kB / 0.9606 GB, free: 186 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.108, allocations: 9.844 kB / 0.9607 GB, free: 186 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/1.113, allocations: 2.41 MB / 0.963 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.113, allocations: 4.594 kB / 0.963 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/1.113, allocations: 187.6 kB / 0.9632 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005725/1.114, allocations: 106.6 kB / 0.9633 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.997e-05/1.114, allocations: 30.42 kB / 0.9633 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/1.116, allocations: 3.096 MB / 0.9663 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.116, allocations: 1.75 kB / 0.9664 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/1.119, allocations: 1.231 MB / 0.9676 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004783/1.12, allocations: 320.7 kB / 0.9679 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/1.12, allocations: 23.02 kB / 0.9679 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008416/1.121, allocations: 78.22 kB / 0.968 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/1.121, allocations: 85.36 kB / 0.968 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.717e-05/1.121, allocations: 42.08 kB / 0.9681 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007591/1.122, allocations: 0.5698 MB / 0.9686 GB, free: 181 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.122, allocations: 0 / 0.9686 GB, free: 181 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001249/1.123, allocations: 443.2 kB / 0.9691 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.001631/1.125, allocations: 0.7107 MB / 0.9697 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002171/1.127, allocations: 1.149 MB / 0.9709 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.127, allocations: 2.625 kB / 0.9709 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/1.128, allocations: 0.7342 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.001442/1.129, allocations: 356 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.004337/1.134, allocations: 2.153 MB / 0.974 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/1.134, allocations: 1.094 MB / 0.9751 GB, free: 178 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/1.135, allocations: 135.5 kB / 0.9752 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.272e-06/1.135, allocations: 0 / 0.9752 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.02711/1.162, allocations: 27.37 MB / 1.002 GB, free: 151.5 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)