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.5619/0.5619, allocations: 94.69 MB / 107.3 MB, free: 5.184 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.001178/0.001178, allocations: 172.7 kB / 130.7 MB, free: 7.555 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.459/1.459, allocations: 170.5 MB / 324.5 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001679/0.00168, allocations: 110.4 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.075e-05/4.078e-05, allocations: 11.92 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4719, allocations: 61.5 MB / 0.5054 GB, free: 49.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.48/18.96, allocations: 5.998 GB / 6.503 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/18.96, allocations: 87.27 kB / 6.503 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.855/20.81, allocations: 479.6 MB / 6.971 GB, free: 81.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.627e-06/20.81, allocations: 0 / 6.971 GB, free: 81.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001519/20.81, allocations: 45.41 kB / 6.971 GB, free: 81.85 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.004491/20.82, allocations: 2.072 MB / 6.973 GB, free: 80.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.564e-05/20.82, allocations: 12.75 kB / 6.973 GB, free: 80.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/20.82, allocations: 256.6 kB / 6.974 GB, free: 80.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/20.82, allocations: 0.9496 MB / 6.975 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/20.82, allocations: 123.1 kB / 6.975 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/20.82, allocations: 161.8 kB / 6.975 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/20.82, allocations: 1.652 MB / 6.976 GB, free: 80.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/20.82, allocations: 0 / 6.976 GB, free: 80.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/20.82, allocations: 71.28 kB / 6.977 GB, free: 80.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/20.82, allocations: 41.02 kB / 6.977 GB, free: 80.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/20.82, allocations: 1.755 MB / 6.978 GB, free: 80.08 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.007518/20.83, allocations: 5.158 MB / 6.983 GB, free: 78.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/20.83, allocations: 1.219 MB / 6.984 GB, free: 78.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007103/20.84, allocations: 0.5413 MB / 6.985 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/20.84, allocations: 2.86 MB / 6.988 GB, free: 74.92 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/20.84, allocations: 0.7641 MB / 6.989 GB, free: 74.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=126): time 3.126e-06/20.84, allocations: 0 / 6.989 GB, free: 74.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126): time 0.002659/20.84, allocations: 1.39 MB / 6.99 GB, free: 74.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/20.84, allocations: 313.4 kB / 6.99 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/20.84, allocations: 0.8612 MB / 6.991 GB, free: 74.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/20.84, allocations: 59.67 kB / 6.991 GB, free: 74.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/20.84, allocations: 0.6068 MB / 6.992 GB, free: 73.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/20.84, allocations: 425.6 kB / 6.992 GB, free: 73.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/20.84, allocations: 23.72 kB / 6.992 GB, free: 73.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/20.84, allocations: 352 kB / 6.992 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006761/20.84, allocations: 459.6 kB / 6.993 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/20.84, allocations: 0.5979 MB / 6.994 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008816/20.85, allocations: 0.8794 MB / 6.994 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/20.85, allocations: 0 / 6.994 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002796/20.85, allocations: 1.829 MB / 6.996 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/20.85, allocations: 363.1 kB / 6.996 GB, free: 71.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/20.85, allocations: 0 / 6.996 GB, free: 71.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005552/20.85, allocations: 84.44 kB / 6.997 GB, free: 71.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008002/20.85, allocations: 204.6 kB / 6.997 GB, free: 71.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/20.85, allocations: 1.437 MB / 6.998 GB, free: 70.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/20.85, allocations: 149 kB / 6.998 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/20.85, allocations: 55.94 kB / 6.998 GB, free: 70.43 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.0003992/20.85, allocations: 331.1 kB / 6.999 GB, free: 70.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/20.85, allocations: 135.8 kB / 6.999 GB, free: 70.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/20.86, allocations: 1.854 MB / 7.001 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/20.86, allocations: 10.38 kB / 7.001 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/20.86, allocations: 7.719 kB / 7.001 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/20.86, allocations: 10.62 kB / 7.001 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/20.86, allocations: 1.396 MB / 7.002 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/20.86, allocations: 2.938 kB / 7.002 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009093/20.86, allocations: 219.9 kB / 7.002 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/20.86, allocations: 80 kB / 7.002 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/20.86, allocations: 37.03 kB / 7.002 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/20.86, allocations: 1.482 MB / 7.004 GB, free: 68.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/20.86, allocations: 0 / 7.004 GB, free: 68.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/20.87, allocations: 2.365 MB / 7.006 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/20.87, allocations: 440.5 kB / 7.007 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/20.87, allocations: 27.28 kB / 7.007 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/20.87, allocations: 96.42 kB / 7.007 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/20.87, allocations: 90.95 kB / 7.007 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/20.87, allocations: 64.45 kB / 7.007 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001036/20.87, allocations: 0.6802 MB / 7.007 GB, free: 67.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.974e-06/20.87, allocations: 0 / 7.007 GB, free: 67.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003021/20.87, allocations: 0.8067 MB / 7.008 GB, free: 67.46 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.003366/20.88, allocations: 1.632 MB / 7.01 GB, free: 67.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002781/20.88, allocations: 2.109 MB / 7.012 GB, free: 65.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/20.88, allocations: 4.531 kB / 7.012 GB, free: 65.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/20.88, allocations: 1.094 MB / 7.013 GB, free: 65.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/20.88, allocations: 484 kB / 7.013 GB, free: 64.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/20.89, allocations: 2.364 MB / 7.016 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008646/20.89, allocations: 1.321 MB / 7.017 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001857/20.89, allocations: 384.1 kB / 7.017 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/20.89, allocations: 131.2 kB / 7.018 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of SimCode: time 2.936e-06/20.89, allocations: 0 / 7.018 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.06205/20.95, allocations: 42.57 MB / 7.059 GB, free: 25.41 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)