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.006562/0.006562, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001273/0.001274, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002216/0.002216, allocations: 285.7 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9657/0.9657, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 95.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.173, allocations: 86.98 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.5787/0.7517, allocations: 167.2 MB / 0.9296 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01941/0.7712, allocations: 17.22 MB / 0.9464 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.7725, allocations: 31.81 kB / 0.9465 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.7741, allocations: 0.543 MB / 0.947 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.7785, allocations: 1.716 MB / 0.9487 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.7819, allocations: 1.435 MB / 0.9501 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00286/0.7848, allocations: 2.657 MB / 0.9527 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/0.787, allocations: 2.001 MB / 0.9546 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003349/0.7903, allocations: 1.439 MB / 0.956 GB, free: 480 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.7915, allocations: 1.078 MB / 0.9571 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000272/0.7918, allocations: 224 kB / 0.9573 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.7945, allocations: 1.552 MB / 0.9588 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006202/0.7952, allocations: 0.7868 MB / 0.9596 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.7962, allocations: 1.174 MB / 0.9607 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004066/0.8003, allocations: 3.532 MB / 0.9642 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8003, allocations: 4 kB / 0.9642 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8003, allocations: 0 / 0.9642 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.262e-05/0.8003, allocations: 4 kB / 0.9642 GB, free: 8.094 MB / 0.7169 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.004144/0.8045, allocations: 2.721 MB / 0.9668 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.8045, allocations: 12.03 kB / 0.9669 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.8081, allocations: 0.5473 MB / 0.9674 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.8103, allocations: 1.631 MB / 0.969 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.281e-05/0.8104, allocations: 131.4 kB / 0.9691 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.8106, allocations: 168 kB / 0.9693 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.8138, allocations: 1.948 MB / 0.9712 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.8138, allocations: 0 / 0.9712 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.814, allocations: 72 kB / 0.9712 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.814, allocations: 44 kB / 0.9713 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/0.8174, allocations: 2.089 MB / 0.9733 GB, free: 14.55 MB / 0.7325 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.009004/0.8264, allocations: 5.646 MB / 0.9788 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.8297, allocations: 2.087 MB / 0.9809 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.8309, allocations: 0.7608 MB / 0.9816 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/0.8315, allocations: 429.6 kB / 0.982 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001686/0.8332, allocations: 1.005 MB / 0.983 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 4.499e-06/0.8332, allocations: 7.922 kB / 0.983 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006598/0.8398, allocations: 2.954 MB / 0.9859 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.84, allocations: 197.2 kB / 0.9861 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.8424, allocations: 1.788 MB / 0.9878 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.8426, allocations: 57.7 kB / 0.9879 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007644/0.8434, allocations: 0.8311 MB / 0.9887 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004004/0.8438, allocations: 480.9 kB / 0.9892 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/0.8442, allocations: 254.8 kB / 0.9894 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8443, allocations: 361.9 kB / 0.9897 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.8454, allocations: 0.5921 MB / 0.9903 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.8468, allocations: 0.8012 MB / 0.9911 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.8492, allocations: 1.337 MB / 0.9924 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.8492, allocations: 0 / 0.9924 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004181/0.8534, allocations: 1.795 MB / 0.9942 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.8534, allocations: 15.88 kB / 0.9942 GB, free: 8.477 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.8535, allocations: 3.938 kB / 0.9942 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.8547, allocations: 220.2 kB / 0.9944 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.8563, allocations: 335.5 kB / 0.9947 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008124/0.8645, allocations: 7.309 MB / 1.002 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.8664, allocations: 162.8 kB / 1.002 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.8665, allocations: 63.89 kB / 1.002 GB, free: 15.68 MB / 0.7637 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.001157/0.8677, allocations: 479.8 kB / 1.003 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.868, allocations: 181.8 kB / 1.003 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004494/0.8725, allocations: 2.129 MB / 1.005 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.841e-05/0.8726, allocations: 16 kB / 1.005 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.8726, allocations: 0 / 1.005 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-05/0.8726, allocations: 7.969 kB / 1.005 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00687/0.8795, allocations: 3.976 MB / 1.009 GB, free: 8.785 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.8795, allocations: 4 kB / 1.009 GB, free: 8.781 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/0.881, allocations: 311.5 kB / 1.009 GB, free: 8.477 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009044/0.882, allocations: 216 kB / 1.009 GB, free: 8.25 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.8821, allocations: 39.97 kB / 1.009 GB, free: 8.211 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0064/0.8885, allocations: 7.351 MB / 1.016 GB, free: 152 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8885, allocations: 0 / 1.016 GB, free: 152 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004623/0.8932, allocations: 2 MB / 1.018 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.8942, allocations: 470.3 kB / 1.019 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003959/0.8946, allocations: 28 kB / 1.019 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.896, allocations: 98.34 kB / 1.019 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/0.8964, allocations: 113.1 kB / 1.019 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/0.8966, allocations: 71.95 kB / 1.019 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001986/0.8986, allocations: 1.281 MB / 1.02 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8986, allocations: 0 / 1.02 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00196/0.9005, allocations: 0.6586 MB / 1.021 GB, free: 11.39 MB / 0.7794 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.9025, allocations: 0.7507 MB / 1.022 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00399/0.9065, allocations: 2.09 MB / 1.024 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.9065, allocations: 4.562 kB / 1.024 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/0.9087, allocations: 1.418 MB / 1.025 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.9114, allocations: 0.5255 MB / 1.026 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008139/0.9195, allocations: 3.802 MB / 1.029 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.921, allocations: 1.533 MB / 1.031 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001828/0.9228, allocations: 0.4928 MB / 1.031 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/0.9234, allocations: 171.4 kB / 1.032 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of SimCode: time 6.62e-07/0.9234, allocations: 0 / 1.032 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of Templates: time 0.05762/0.981, allocations: 31.33 MB / 1.062 GB, free: 1.625 MB / 0.8106 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)