Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.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: "" <> buildModelFMU(BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_AirElementsThermal1x1x1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_AirElementsThermal1x1x1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008765/0.0008765, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005643/0.005643, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 279.1 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9041/0.9041, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Cvode" Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 13.56 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 88.54 MB / 0.6852 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1): time 0.487/0.6204, allocations: 256.2 MB / 0.9355 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.6352, allocations: 9.939 MB / 0.9452 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.6376, allocations: 63.62 kB / 0.9452 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002649/0.6403, allocations: 0.9477 MB / 0.9462 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00748/0.6478, allocations: 3.024 MB / 0.9491 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01246/0.6603, allocations: 4.024 MB / 0.953 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.6708, allocations: 7.608 MB / 0.9605 GB, free: 5.941 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003695/0.6746, allocations: 1.931 MB / 0.9624 GB, free: 3.969 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004762/0.6794, allocations: 2.167 MB / 0.9645 GB, free: 1.793 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.6829, allocations: 1.965 MB / 0.9664 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009316/0.6838, allocations: 160 kB / 0.9665 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007149/0.691, allocations: 3.744 MB / 0.9702 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.6924, allocations: 0.8175 MB / 0.971 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003081/0.6955, allocations: 1.595 MB / 0.9726 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009057/0.7046, allocations: 5.603 MB / 0.978 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7046, allocations: 0 / 0.978 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7046, allocations: 0 / 0.978 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001572/0.7048, allocations: 0 / 0.978 GB, free: 3.859 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.006139/0.7109, allocations: 3.081 MB / 0.981 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.711, allocations: 8.031 kB / 0.981 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008849/0.7119, allocations: 345.8 kB / 0.9814 GB, free: 316 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004305/0.7162, allocations: 0.7339 MB / 0.9821 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/0.72, allocations: 1.691 MB / 0.9837 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.7203, allocations: 192.7 kB / 0.9839 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007328/0.721, allocations: 252 kB / 0.9842 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007099/0.7281, allocations: 3.496 MB / 0.9876 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.96e-05/0.7283, allocations: 19.78 kB / 0.9876 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004539/0.7287, allocations: 112 kB / 0.9877 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.7289, allocations: 87.92 kB / 0.9878 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004372/0.7332, allocations: 2.281 MB / 0.99 GB, free: 7.031 MB / 0.7012 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.01861/0.7519, allocations: 17.31 MB / 1.007 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.7536, allocations: 1.461 MB / 1.008 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008253/0.7545, allocations: 0.5796 MB / 1.009 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/0.7557, allocations: 1.219 MB / 1.01 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.7558, allocations: 63.08 kB / 1.01 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=98): time 2.905e-06/0.7558, allocations: 0 / 1.01 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=98): time 0.003175/0.759, allocations: 1.457 MB / 1.012 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000222/0.7592, allocations: 463.8 kB / 1.012 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003879/0.7631, allocations: 2.098 MB / 1.014 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.7634, allocations: 49.7 kB / 1.014 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.7647, allocations: 1.287 MB / 1.015 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006032/0.7653, allocations: 382.8 kB / 1.016 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004067/0.7658, allocations: 173.6 kB / 1.016 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7659, allocations: 301.1 kB / 1.016 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.7671, allocations: 487.8 kB / 1.017 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.7689, allocations: 1.414 MB / 1.018 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/0.7719, allocations: 2.364 MB / 1.02 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-05/0.7719, allocations: 11.94 kB / 1.02 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004001/0.7759, allocations: 2.313 MB / 1.023 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.7762, allocations: 277.5 kB / 1.023 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.866e-05/0.7762, allocations: 36.86 kB / 1.023 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.555e-05/0.7763, allocations: 44 kB / 1.023 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.778, allocations: 499.2 kB / 1.023 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.7799, allocations: 3.656 MB / 1.027 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.782, allocations: 305.5 kB / 1.027 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/0.7822, allocations: 112 kB / 1.027 GB, free: 13.77 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001277/0.7835, allocations: 0.7123 MB / 1.028 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007265/0.7842, allocations: 241.2 kB / 1.028 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.7863, allocations: 1.105 MB / 1.029 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.7863, allocations: 15.98 kB / 1.029 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7863, allocations: 4 kB / 1.029 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.7863, allocations: 7.984 kB / 1.029 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00718/0.7935, allocations: 4.611 MB / 1.034 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.7936, allocations: 4 kB / 1.034 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009682/0.7945, allocations: 215.7 kB / 1.034 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/0.7946, allocations: 8 kB / 1.034 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.273e-05/0.7947, allocations: 35.94 kB / 1.034 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.7965, allocations: 3.618 MB / 1.038 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.7965, allocations: 4 kB / 1.038 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.7993, allocations: 1.876 MB / 1.04 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.8003, allocations: 445.9 kB / 1.04 GB, free: 384 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004825/0.8008, allocations: 31.94 kB / 1.04 GB, free: 352 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.8022, allocations: 91.86 kB / 1.04 GB, free: 260 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.8024, allocations: 76.36 kB / 1.04 GB, free: 184 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.873e-05/0.8025, allocations: 43.98 kB / 1.04 GB, free: 140 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.2577/1.06, allocations: 1.372 MB / 1.042 GB, free: 274.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.9e-07/1.06, allocations: 0 / 1.042 GB, free: 274.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002196/1.062, allocations: 0.6726 MB / 1.042 GB, free: 274.8 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (airEle111.fluid.rho,airEle111.fluid.h,west11.ori.mExc,west11.senTem.T,roof11.ori.mExc,roof11.senTem.T,floor11.ori.mExc,floor11.senTem.T,north11.ori.mExc,north11.senTem.T,south11.ori.mExc,south11.senTem.T,east11.ori.mExc,east11.senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002842/1.065, allocations: 2.623 MB / 1.045 GB, free: 273.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002394/1.068, allocations: 1.977 MB / 1.047 GB, free: 272.9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.068, allocations: 1.594 kB / 1.047 GB, free: 272.9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.069, allocations: 0.7978 MB / 1.048 GB, free: 272.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00432/1.073, allocations: 0.7666 MB / 1.048 GB, free: 272.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/1.097, allocations: 21.31 MB / 1.069 GB, free: 257.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.098, allocations: 1.704 MB / 1.071 GB, free: 257 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001581/1.1, allocations: 393.1 kB / 1.071 GB, free: 256.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008515/1.101, allocations: 0.9583 MB / 1.072 GB, free: 256.2 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/1.101, allocations: 0 / 1.072 GB, free: 256.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7997/1.901, allocations: 49.66 MB / 1.121 GB, free: 219.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/1.901, allocations: 316.3 kB / 1.121 GB, free: 218.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/4.644, allocations: 0 / 1.121 GB, free: 218.7 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_AirElementsThermal1x1x1_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Airvolumes_Examples_AirElementsThermal1x1x1.fmu > BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.AirElementsThermal1x1x1.pipe 2>&1)