Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.588/0.588, allocations: 94.76 MB / 102.2 MB, free: 14.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001235/0.001235, allocations: 186 kB / 125.6 MB, free: 7.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.629/1.629, allocations: 170.6 MB / 319.4 MB, free: 1.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002101/0.002101, allocations: 115.1 kB / 381.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.812e-05, allocations: 7.984 kB / 449.1 MB, free: 44.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.168, allocations: 61.51 MB / 0.4986 GB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.02/18.19, allocations: 5.997 GB / 6.496 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/18.19, allocations: 84.77 kB / 6.496 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.782/19.97, allocations: 474.6 MB / 6.96 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.665e-06/19.97, allocations: 0 / 6.96 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001316/19.98, allocations: 42.39 kB / 6.96 GB, free: 89.16 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.004219/19.98, allocations: 2.074 MB / 6.962 GB, free: 87.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/19.98, allocations: 11.78 kB / 6.962 GB, free: 87.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/19.98, allocations: 258.3 kB / 6.962 GB, free: 87.58 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/19.98, allocations: 0.9458 MB / 6.963 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/19.98, allocations: 53.31 kB / 6.963 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/19.98, allocations: 104.5 kB / 6.963 GB, free: 87.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002563/19.99, allocations: 1.659 MB / 6.965 GB, free: 86.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/19.99, allocations: 1.435 MB / 6.966 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/19.99, allocations: 3.938 kB / 6.966 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/19.99, allocations: 13.03 kB / 6.966 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/19.99, allocations: 36.72 kB / 6.966 GB, free: 85.8 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.006984/19.99, allocations: 4.839 MB / 6.971 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/20, allocations: 1.151 MB / 6.972 GB, free: 81.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/20, allocations: 0.5074 MB / 6.972 GB, free: 81.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/20, allocations: 2.864 MB / 6.975 GB, free: 77.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/20, allocations: 0.7233 MB / 6.976 GB, free: 77.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=126): time 3.356e-06/20, allocations: 3.25 kB / 6.976 GB, free: 77.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126): time 0.004083/20, allocations: 1.379 MB / 6.977 GB, free: 76.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/20, allocations: 313.2 kB / 6.977 GB, free: 76.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/20.01, allocations: 0.68 MB / 6.978 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001849/20.01, allocations: 42.17 kB / 6.978 GB, free: 76.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008276/20.01, allocations: 0.6207 MB / 6.979 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/20.01, allocations: 406.2 kB / 6.979 GB, free: 75.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/20.01, allocations: 7 kB / 6.979 GB, free: 75.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001541/20.01, allocations: 349.5 kB / 6.98 GB, free: 74.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009265/20.01, allocations: 435.8 kB / 6.98 GB, free: 74.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008848/20.01, allocations: 0.5594 MB / 6.98 GB, free: 74.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002786/20.01, allocations: 0.7239 MB / 6.981 GB, free: 73.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/20.01, allocations: 3.219 kB / 6.981 GB, free: 73.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00488/20.02, allocations: 1.605 MB / 6.983 GB, free: 72.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002414/20.02, allocations: 360.4 kB / 6.983 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/20.02, allocations: 11.95 kB / 6.983 GB, free: 72.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/20.02, allocations: 83.81 kB / 6.983 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/20.02, allocations: 211.6 kB / 6.983 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/20.02, allocations: 1.371 MB / 6.985 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/20.02, allocations: 109.4 kB / 6.985 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/20.02, allocations: 55.97 kB / 6.985 GB, free: 70.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,bou1.x_pTphi.i_w,bou1.x_pTphi.i_nw,bou1.x_pTphi.found,bouFix.x_pTphi.i_w,bouFix.x_pTphi.i_nw,bouFix.x_pTphi.found,bou2.x_pTphi.i_w,bou2.x_pTphi.i_nw,bou2.x_pTphi.found) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006223/20.02, allocations: 289.2 kB / 6.985 GB, free: 70.19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006364/20.02, allocations: 122.6 kB / 6.985 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005167/20.03, allocations: 1.794 MB / 6.987 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/20.03, allocations: 12 kB / 6.987 GB, free: 68.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/20.03, allocations: 0 / 6.987 GB, free: 68.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/20.03, allocations: 7.969 kB / 6.987 GB, free: 68.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/20.03, allocations: 1.182 MB / 6.988 GB, free: 67.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/20.03, allocations: 0 / 6.988 GB, free: 67.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008934/20.03, allocations: 215.7 kB / 6.988 GB, free: 66.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/20.03, allocations: 83.31 kB / 6.988 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/20.03, allocations: 23.98 kB / 6.989 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/20.03, allocations: 1.418 MB / 6.99 GB, free: 65.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/20.03, allocations: 0 / 6.99 GB, free: 65.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005321/20.04, allocations: 2.293 MB / 6.992 GB, free: 62.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/20.04, allocations: 419.1 kB / 6.993 GB, free: 62.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003272/20.04, allocations: 4 kB / 6.993 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/20.04, allocations: 76.33 kB / 6.993 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/20.04, allocations: 92.09 kB / 6.993 GB, free: 62.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/20.04, allocations: 67.97 kB / 6.993 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009622/20.04, allocations: 0.5226 MB / 6.993 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/20.04, allocations: 0 / 6.993 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003847/20.05, allocations: 0.7698 MB / 6.994 GB, free: 60.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006328/20.05, allocations: 1.76 MB / 6.996 GB, free: 59.56 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004168/20.06, allocations: 2.024 MB / 6.998 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/20.06, allocations: 0.5625 kB / 6.998 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/20.06, allocations: 1.054 MB / 6.999 GB, free: 56.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/20.06, allocations: 401.5 kB / 6.999 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007673/20.07, allocations: 2.277 MB / 7.001 GB, free: 53.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/20.07, allocations: 1.326 MB / 7.003 GB, free: 52.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002283/20.08, allocations: 362.3 kB / 7.003 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/20.08, allocations: 123.4 kB / 7.003 GB, free: 51.76 MB / 0.5261 GB Notification: Performance of SimCode: time 2.104e-06/20.08, allocations: 0 / 7.003 GB, free: 51.76 MB / 0.5261 GB Notification: Performance of Templates: time 0.05387/20.13, allocations: 29.78 MB / 7.032 GB, free: 22.43 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)