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.001639/0.001639, allocations: 111.2 kB / 16.41 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.001847/0.001847, allocations: 186.6 kB / 17.34 MB, free: 5.629 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.465/1.465, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002618/0.002618, allocations: 283.9 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 1.046/1.046, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 107.8 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4951, allocations: 86.97 MB / 0.767 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2021/0.6972, allocations: 167.5 MB / 0.9306 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02344/0.7206, allocations: 16.98 MB / 0.9472 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.7223, allocations: 31.81 kB / 0.9472 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.7239, allocations: 0.5353 MB / 0.9477 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00485/0.7288, allocations: 1.542 MB / 0.9493 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.7327, allocations: 1.322 MB / 0.9505 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003718/0.7364, allocations: 2.49 MB / 0.953 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/0.7389, allocations: 1.612 MB / 0.9545 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004578/0.7435, allocations: 1.356 MB / 0.9559 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.7449, allocations: 0.9568 MB / 0.9568 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003618/0.7453, allocations: 208 kB / 0.957 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4305/1.176, allocations: 1.415 MB / 0.9584 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008034/1.177, allocations: 0.559 MB / 0.9589 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001606/1.178, allocations: 0.9917 MB / 0.9599 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005876/1.184, allocations: 3.063 MB / 0.9629 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.184, allocations: 1.359 kB / 0.9629 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/1.184, allocations: 0 / 0.9629 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.357e-05/1.184, allocations: 2.141 kB / 0.9629 GB, free: 6.223 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.004901/1.189, allocations: 2.314 MB / 0.9652 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.189, allocations: 9.953 kB / 0.9652 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003888/1.193, allocations: 0.5183 MB / 0.9657 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/1.195, allocations: 1.123 MB / 0.9668 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.195, allocations: 125.2 kB / 0.9669 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/1.195, allocations: 168 kB / 0.967 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00329/1.199, allocations: 1.842 MB / 0.9688 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/1.199, allocations: 3.906 kB / 0.9689 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/1.199, allocations: 74.89 kB / 0.9689 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/1.199, allocations: 42.16 kB / 0.969 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003032/1.202, allocations: 1.879 MB / 0.9708 GB, free: 4.422 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.007675/1.21, allocations: 5.137 MB / 0.9758 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/1.212, allocations: 1.681 MB / 0.9775 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009995/1.213, allocations: 0.5878 MB / 0.978 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/1.214, allocations: 0.809 MB / 0.9788 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/1.216, allocations: 0.8903 MB / 0.9797 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.326e-06/1.216, allocations: 1.875 kB / 0.9797 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.005985/1.222, allocations: 2.561 MB / 0.9822 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.222, allocations: 202.5 kB / 0.9824 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/1.223, allocations: 0.8315 MB / 0.9832 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002019/1.223, allocations: 61.27 kB / 0.9833 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/1.224, allocations: 0.645 MB / 0.9839 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000342/1.224, allocations: 0.4992 MB / 0.9844 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/1.224, allocations: 259 kB / 0.9846 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.224, allocations: 355.5 kB / 0.985 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009135/1.225, allocations: 495.9 kB / 0.9854 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/1.226, allocations: 0.6415 MB / 0.9861 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/1.228, allocations: 1.119 MB / 0.9871 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.228, allocations: 3.969 kB / 0.9872 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003376/1.232, allocations: 1.55 MB / 0.9887 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.232, allocations: 6.312 kB / 0.9887 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/1.232, allocations: 0 / 0.9887 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008732/1.233, allocations: 195.2 kB / 0.9889 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/1.234, allocations: 339.1 kB / 0.9892 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006438/1.241, allocations: 7.292 MB / 0.9963 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/1.242, allocations: 151.7 kB / 0.9964 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/1.242, allocations: 63.78 kB / 0.9965 GB, free: 8.047 MB / 0.7325 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.0009014/1.243, allocations: 379.5 kB / 0.9969 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/1.244, allocations: 138.1 kB / 0.997 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/1.248, allocations: 1.837 MB / 0.9988 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/1.248, allocations: 15.56 kB / 0.9988 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.248, allocations: 4.656 kB / 0.9988 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/1.248, allocations: 8.578 kB / 0.9988 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005885/1.253, allocations: 3.425 MB / 1.002 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/1.253, allocations: 2.953 kB / 1.002 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/1.255, allocations: 315.4 kB / 1.002 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007352/1.256, allocations: 184.9 kB / 1.003 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/1.256, allocations: 44.36 kB / 1.003 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006895/1.263, allocations: 7.319 MB / 1.01 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.263, allocations: 0 / 1.01 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004579/1.267, allocations: 1.718 MB / 1.012 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.268, allocations: 412.7 kB / 1.012 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/1.269, allocations: 32.78 kB / 1.012 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/1.27, allocations: 102.8 kB / 1.012 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/1.27, allocations: 115.1 kB / 1.012 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.27, allocations: 71.23 kB / 1.012 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008285/1.271, allocations: 0.5781 MB / 1.013 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/1.271, allocations: 1.203 kB / 1.013 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001778/1.273, allocations: 0.5795 MB / 1.013 GB, free: 15.73 MB / 0.7481 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.002318/1.275, allocations: 0.7331 MB / 1.014 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003448/1.279, allocations: 1.811 MB / 1.016 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.279, allocations: 3.812 kB / 1.016 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/1.281, allocations: 1.251 MB / 1.017 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.283, allocations: 0.4978 MB / 1.018 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00614/1.289, allocations: 2.952 MB / 1.02 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/1.29, allocations: 1.296 MB / 1.022 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00179/1.292, allocations: 433 kB / 1.022 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/1.292, allocations: 158.6 kB / 1.022 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of SimCode: time 6.71e-07/1.292, allocations: 0 / 1.022 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of Templates: time 0.04877/1.341, allocations: 27.26 MB / 1.049 GB, free: 14.12 MB / 0.7637 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)