Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",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.0006967/0.0006967, allocations: 90.67 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.004142/0.004142, allocations: 174.6 kB / 16.27 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.255/1.255, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9395/0.9395, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002997, allocations: 8 kB / 0.5165 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1602, allocations: 83.43 MB / 0.598 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4268/0.587, allocations: 112.6 MB / 0.7079 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04125/0.6283, allocations: 26.41 MB / 0.7337 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006095/0.6345, allocations: 100.5 kB / 0.7338 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004018/0.6385, allocations: 0.9241 MB / 0.7347 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.6504, allocations: 3.157 MB / 0.7378 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008522/0.659, allocations: 2.093 MB / 0.7398 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0135/0.6725, allocations: 8.153 MB / 0.7478 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003805/0.6763, allocations: 1.553 MB / 0.7493 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006563/0.6829, allocations: 2.267 MB / 0.7515 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.6868, allocations: 1.703 MB / 0.7532 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008077/0.6877, allocations: 92 kB / 0.7533 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007099/0.6948, allocations: 2.116 MB / 0.7553 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.6959, allocations: 421.9 kB / 0.7557 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002946/0.6989, allocations: 1.156 MB / 0.7569 GB, free: 9 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008732/0.7076, allocations: 4.104 MB / 0.7609 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7077, allocations: 4 kB / 0.7609 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7077, allocations: 0 / 0.7609 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001222/0.7078, allocations: 0 / 0.7609 GB, free: 4.879 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005937/0.7138, allocations: 2.426 MB / 0.7633 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.7138, allocations: 8.031 kB / 0.7633 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004353/0.7143, allocations: 194.6 kB / 0.7634 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007711/0.715, allocations: 276.9 kB / 0.7637 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004684/0.7197, allocations: 2.107 MB / 0.7658 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/0.7199, allocations: 102.7 kB / 0.7659 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/0.7201, allocations: 136 kB / 0.766 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/0.7226, allocations: 1.466 MB / 0.7674 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/0.7227, allocations: 0 / 0.7674 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.7228, allocations: 60 kB / 0.7675 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/0.7228, allocations: 39.94 kB / 0.7675 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.7247, allocations: 1.033 MB / 0.7685 GB, free: 12.84 MB / 0.5919 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.008603/0.7334, allocations: 8.167 MB / 0.7765 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.7348, allocations: 0.8417 MB / 0.7773 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000577/0.7354, allocations: 379.8 kB / 0.7777 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/0.7374, allocations: 2.807 MB / 0.7804 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.7374, allocations: 43.22 kB / 0.7805 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 2.534e-06/0.7374, allocations: 0 / 0.7805 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.002192/0.7396, allocations: 1.14 MB / 0.7816 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.7397, allocations: 64 kB / 0.7816 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/0.7421, allocations: 1.606 MB / 0.7832 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.7422, allocations: 53.7 kB / 0.7833 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008656/0.7431, allocations: 0.9237 MB / 0.7842 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/0.7435, allocations: 299.6 kB / 0.7845 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.7437, allocations: 93.67 kB / 0.7845 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.7438, allocations: 349.9 kB / 0.7849 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006197/0.7444, allocations: 330.4 kB / 0.7852 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009641/0.7454, allocations: 0.7072 MB / 0.7859 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.7471, allocations: 1.101 MB / 0.787 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.7471, allocations: 4 kB / 0.787 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002287/0.7494, allocations: 1.264 MB / 0.7882 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003977/0.7498, allocations: 441.3 kB / 0.7886 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-05/0.7498, allocations: 15.98 kB / 0.7886 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.603e-05/0.7499, allocations: 20 kB / 0.7887 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/0.7507, allocations: 263.5 kB / 0.7889 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.023e-05/0.7508, allocations: 27.88 kB / 0.7889 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.7526, allocations: 190.6 kB / 0.7891 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.7528, allocations: 63.97 kB / 0.7892 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.7528, allocations: 4 kB / 0.7892 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001869/0.7547, allocations: 1.066 MB / 0.7902 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.802e-05/0.7547, allocations: 16.12 kB / 0.7902 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.7547, allocations: 20 kB / 0.7903 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/0.7555, allocations: 259.6 kB / 0.7905 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.821e-05/0.7556, allocations: 24.55 kB / 0.7905 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.757, allocations: 158.9 kB / 0.7907 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.7572, allocations: 71.97 kB / 0.7907 GB, free: 4.133 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001054/0.7583, allocations: 472.6 kB / 0.7912 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004463/0.7587, allocations: 189.7 kB / 0.7914 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/0.7622, allocations: 1.758 MB / 0.7931 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.604e-05/0.7622, allocations: 15.98 kB / 0.7931 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.7622, allocations: 4 kB / 0.7931 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001699/0.7639, allocations: 1.162 MB / 0.7942 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006278/0.7702, allocations: 3.494 MB / 0.7977 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.491e-05/0.7703, allocations: 12.81 kB / 0.7977 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.771, allocations: 207.7 kB / 0.7979 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.242e-05/0.771, allocations: 8 kB / 0.7979 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.013e-05/0.7711, allocations: 43.92 kB / 0.7979 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/0.7712, allocations: 19.92 kB / 0.7979 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/0.7712, allocations: 11.94 kB / 0.7979 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/0.7745, allocations: 2.242 MB / 0.8001 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.7756, allocations: 485.9 kB / 0.8006 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/0.776, allocations: 28.12 kB / 0.8006 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.7772, allocations: 104.6 kB / 0.8007 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.7774, allocations: 124.6 kB / 0.8008 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.7776, allocations: 55.97 kB / 0.8009 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00189/0.7795, allocations: 1.079 MB / 0.802 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7795, allocations: 0 / 0.802 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003843/0.7833, allocations: 1.131 MB / 0.8031 GB, free: 7.195 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005253/0.7886, allocations: 3.498 MB / 0.8065 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002858/0.7915, allocations: 1.809 MB / 0.8082 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.7915, allocations: 256 / 0.8082 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.7926, allocations: 0.8339 MB / 0.8091 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005799/0.7984, allocations: 0.926 MB / 0.81 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/0.8212, allocations: 14.63 MB / 0.8242 GB, free: 108 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00098/0.8222, allocations: 1.436 MB / 0.8257 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002047/0.8243, allocations: 0.548 MB / 0.8262 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.8253, allocations: 0.8506 MB / 0.827 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of SimCode: time 6.32e-07/0.8253, allocations: 0 / 0.827 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.387/1.212, allocations: 57.5 MB / 0.8832 GB, free: 192.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/1.213, allocations: 257.7 kB / 0.8834 GB, free: 191.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.192/4.405, allocations: 0 / 0.8834 GB, free: 191.9 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)