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.00587/0.00587, allocations: 100.2 kB / 15.73 MB, free: 6.016 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.00127/0.00127, allocations: 181.7 kB / 16.67 MB, free: 5.938 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 293.5 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9415/0.9415, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 99.84 kB / 0.6814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5164, allocations: 86.97 MB / 0.7664 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1653/0.6818, allocations: 154 MB / 0.9168 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01514/0.697, allocations: 10.49 MB / 0.927 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.6988, allocations: 19.94 kB / 0.9271 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.7003, allocations: 261.8 kB / 0.9273 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004335/0.7047, allocations: 0.9307 MB / 0.9282 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.7089, allocations: 1.075 MB / 0.9293 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002952/0.7119, allocations: 1.64 MB / 0.9309 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.7139, allocations: 1.179 MB / 0.932 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.7161, allocations: 0.7128 MB / 0.9327 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.7172, allocations: 0.6106 MB / 0.9333 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003941/0.7176, allocations: 135.9 kB / 0.9334 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.7199, allocations: 1.026 MB / 0.9344 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004798/0.7204, allocations: 386.8 kB / 0.9348 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009342/0.7213, allocations: 0.6529 MB / 0.9355 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.7248, allocations: 2.195 MB / 0.9376 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7248, allocations: 0 / 0.9376 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7248, allocations: 0 / 0.9376 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.186e-05/0.7249, allocations: 0 / 0.9376 GB, free: 3.926 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.00396/0.7289, allocations: 1.739 MB / 0.9393 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.7289, allocations: 12.03 kB / 0.9393 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.7307, allocations: 282.9 kB / 0.9396 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.7322, allocations: 0.9064 MB / 0.9405 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/0.7323, allocations: 74 kB / 0.9405 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.7324, allocations: 96 kB / 0.9406 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.7344, allocations: 1.106 MB / 0.9417 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.7345, allocations: 0 / 0.9417 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/0.7346, allocations: 44 kB / 0.9417 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.7346, allocations: 24 kB / 0.9418 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.7368, allocations: 1.323 MB / 0.9431 GB, free: 14.18 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.004747/0.7415, allocations: 3.201 MB / 0.9462 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.7434, allocations: 1.098 MB / 0.9473 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/0.7441, allocations: 424.8 kB / 0.9477 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.7444, allocations: 130.1 kB / 0.9478 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.7454, allocations: 0.6293 MB / 0.9484 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=95): time 2.244e-06/0.7454, allocations: 0 / 0.9484 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95): time 0.003879/0.7493, allocations: 1.632 MB / 0.95 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.7494, allocations: 196.9 kB / 0.9502 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/0.7504, allocations: 0.8057 MB / 0.951 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.747e-05/0.7505, allocations: 49.7 kB / 0.951 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.7508, allocations: 461.2 kB / 0.9515 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.751, allocations: 325.3 kB / 0.9518 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.7513, allocations: 190.5 kB / 0.9519 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7514, allocations: 345.9 kB / 0.9523 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/0.7521, allocations: 349.8 kB / 0.9526 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007972/0.7529, allocations: 481.5 kB / 0.9531 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.7544, allocations: 0.7882 MB / 0.9538 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7544, allocations: 0 / 0.9538 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002299/0.7567, allocations: 1.092 MB / 0.9549 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.7567, allocations: 8.062 kB / 0.9549 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7567, allocations: 0 / 0.9549 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006614/0.7574, allocations: 121.5 kB / 0.955 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008277/0.7582, allocations: 207.7 kB / 0.9552 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4589/1.217, allocations: 3.06 MB / 0.9582 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/1.218, allocations: 112.4 kB / 0.9583 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.218, allocations: 41.33 kB / 0.9584 GB, free: 186.1 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.000738/1.219, allocations: 311.6 kB / 0.9587 GB, free: 186 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/1.22, allocations: 103.5 kB / 0.9588 GB, free: 186 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/1.223, allocations: 1.317 MB / 0.96 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/1.223, allocations: 10.92 kB / 0.9601 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.223, allocations: 1.188 kB / 0.9601 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/1.223, allocations: 5.391 kB / 0.9601 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/1.227, allocations: 2.42 MB / 0.9624 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/1.227, allocations: 3.938 kB / 0.9624 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/1.228, allocations: 195.4 kB / 0.9626 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005415/1.229, allocations: 101.2 kB / 0.9627 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/1.229, allocations: 30.88 kB / 0.9627 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/1.231, allocations: 3.1 MB / 0.9658 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.231, allocations: 0 / 0.9658 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/1.234, allocations: 1.24 MB / 0.967 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/1.234, allocations: 319.2 kB / 0.9673 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.234, allocations: 21.88 kB / 0.9673 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007612/1.235, allocations: 83.09 kB / 0.9674 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/1.235, allocations: 82.33 kB / 0.9675 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.236, allocations: 43.42 kB / 0.9675 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007413/1.236, allocations: 0.57 MB / 0.9681 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.236, allocations: 3.656 kB / 0.9681 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001209/1.237, allocations: 444.5 kB / 0.9685 GB, free: 180.6 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.001579/1.239, allocations: 0.7269 MB / 0.9692 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00209/1.241, allocations: 1.138 MB / 0.9703 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.241, allocations: 3.969 kB / 0.9703 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/1.242, allocations: 0.7431 MB / 0.971 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.244, allocations: 349.6 kB / 0.9714 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/1.248, allocations: 2.157 MB / 0.9735 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/1.248, allocations: 1.111 MB / 0.9746 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008441/1.249, allocations: 308.1 kB / 0.9749 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/1.249, allocations: 115.2 kB / 0.975 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/1.249, allocations: 4 kB / 0.975 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.02524/1.274, allocations: 19.8 MB / 0.9943 GB, free: 158.6 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)