Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008826/0.008826, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.002018/0.002018, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 286.9 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9767/0.9767, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 91.8 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1712, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.573/0.7443, allocations: 167 MB / 0.9295 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02213/0.7665, allocations: 16.93 MB / 0.946 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.7683, allocations: 31.81 kB / 0.9461 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.7699, allocations: 0.508 MB / 0.9466 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.7749, allocations: 1.517 MB / 0.9481 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.7784, allocations: 1.32 MB / 0.9493 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003818/0.7823, allocations: 2.494 MB / 0.9518 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.7848, allocations: 1.928 MB / 0.9537 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003742/0.7886, allocations: 1.333 MB / 0.955 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.7898, allocations: 0.9664 MB / 0.9559 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000278/0.7901, allocations: 208 kB / 0.9561 GB, free: 456 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.7929, allocations: 1.419 MB / 0.9575 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004855/0.7934, allocations: 0.5569 MB / 0.958 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009744/0.7944, allocations: 0.9912 MB / 0.959 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004076/0.7985, allocations: 3.057 MB / 0.962 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7985, allocations: 0 / 0.962 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7985, allocations: 0 / 0.962 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.093e-05/0.7986, allocations: 0 / 0.962 GB, free: 10.4 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003841/0.8024, allocations: 2.249 MB / 0.9642 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.8025, allocations: 8.031 kB / 0.9642 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/0.806, allocations: 0.5049 MB / 0.9647 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.8081, allocations: 1.121 MB / 0.9658 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.8083, allocations: 127.4 kB / 0.9659 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/0.8085, allocations: 175.9 kB / 0.9661 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/0.8119, allocations: 1.855 MB / 0.9679 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.8119, allocations: 0 / 0.9679 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.8121, allocations: 72 kB / 0.9679 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.8122, allocations: 44 kB / 0.968 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/0.8156, allocations: 1.875 MB / 0.9698 GB, free: 2.211 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.008438/0.8241, allocations: 5.105 MB / 0.9748 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003141/0.8272, allocations: 1.771 MB / 0.9765 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.8284, allocations: 0.6476 MB / 0.9772 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009088/0.8294, allocations: 0.8038 MB / 0.978 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/0.831, allocations: 0.9007 MB / 0.9788 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.357e-06/0.8311, allocations: 0 / 0.9788 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006239/0.8373, allocations: 2.548 MB / 0.9813 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.8374, allocations: 201.2 kB / 0.9815 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.8386, allocations: 0.8383 MB / 0.9823 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.8388, allocations: 57.7 kB / 0.9824 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005938/0.8394, allocations: 0.6368 MB / 0.983 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000451/0.8398, allocations: 489 kB / 0.9835 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/0.8403, allocations: 254.8 kB / 0.9837 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.8404, allocations: 357.9 kB / 0.9841 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.8415, allocations: 498.3 kB / 0.9845 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.8426, allocations: 0.6423 MB / 0.9852 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.8448, allocations: 1.122 MB / 0.9863 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.8449, allocations: 0 / 0.9863 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003557/0.8484, allocations: 1.542 MB / 0.9878 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.8485, allocations: 8 kB / 0.9878 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.8485, allocations: 3.938 kB / 0.9878 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000914/0.8494, allocations: 192.2 kB / 0.988 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.8509, allocations: 343.5 kB / 0.9883 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005952/0.8569, allocations: 7.277 MB / 0.9954 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.8583, allocations: 153.1 kB / 0.9955 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.8585, allocations: 59.95 kB / 0.9956 GB, free: 6.312 MB / 0.7481 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 (156): * Single equations (assignments): 151 * 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.0007579/0.8592, allocations: 380 kB / 0.996 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.8595, allocations: 134.4 kB / 0.9961 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004055/0.8636, allocations: 1.835 MB / 0.9979 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.8636, allocations: 16 kB / 0.9979 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.8636, allocations: 4 kB / 0.9979 GB, free: 3.918 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.8637, allocations: 19.94 kB / 0.9979 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006214/0.8699, allocations: 3.432 MB / 1.001 GB, free: 396 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.8699, allocations: 0 / 1.001 GB, free: 396 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.8714, allocations: 311.6 kB / 1.002 GB, free: 84 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007924/0.8722, allocations: 192 kB / 1.002 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.8723, allocations: 39.97 kB / 1.002 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006068/0.8784, allocations: 7.326 MB / 1.009 GB, free: 7.809 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8784, allocations: 0 / 1.009 GB, free: 7.809 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003887/0.8823, allocations: 1.717 MB / 1.011 GB, free: 6.055 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007285/0.883, allocations: 406.9 kB / 1.011 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.8832, allocations: 24 kB / 1.011 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.8844, allocations: 99.91 kB / 1.011 GB, free: 5.516 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.8846, allocations: 117.1 kB / 1.011 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.8848, allocations: 63.95 kB / 1.011 GB, free: 5.34 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007656/0.8856, allocations: 0.5784 MB / 1.012 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8856, allocations: 0 / 1.012 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001457/0.887, allocations: 0.5727 MB / 1.012 GB, free: 4.176 MB / 0.7637 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.001628/0.8887, allocations: 0.7342 MB / 1.013 GB, free: 3.625 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003347/0.892, allocations: 1.864 MB / 1.015 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8921, allocations: 0.5625 kB / 1.015 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.894, allocations: 1.301 MB / 1.016 GB, free: 340 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.8964, allocations: 0.5141 MB / 1.017 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005897/0.9023, allocations: 2.873 MB / 1.02 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008683/0.9032, allocations: 1.307 MB / 1.021 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001578/0.9047, allocations: 433.9 kB / 1.021 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/0.9052, allocations: 151.4 kB / 1.021 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/0.9052, allocations: 4 kB / 1.021 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.0454/0.9506, allocations: 27.62 MB / 1.048 GB, free: 15.75 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)