Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Delays_Examples_Delay",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.00816/0.00816, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.00207/0.002071, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 1.012/1.012, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 0.595 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4911, allocations: 82.03 MB / 0.6751 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.2251/0.7162, allocations: 183.3 MB / 0.8542 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.728, allocations: 4.872 MB / 0.8589 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.7295, allocations: 35.81 kB / 0.859 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.7314, allocations: 437.3 kB / 0.8594 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005406/0.7368, allocations: 1.416 MB / 0.8608 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.7398, allocations: 0.7784 MB / 0.8615 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004509/0.7443, allocations: 1.851 MB / 0.8633 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.7459, allocations: 0.5901 MB / 0.8639 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.7489, allocations: 0.8949 MB / 0.8648 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.7509, allocations: 0.5377 MB / 0.8653 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002835/0.7512, allocations: 60 kB / 0.8654 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/0.7551, allocations: 1.415 MB / 0.8667 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004509/0.7555, allocations: 263.3 kB / 0.867 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007535/0.7563, allocations: 406 kB / 0.8674 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4721/1.228, allocations: 1.456 MB / 0.8688 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/1.228, allocations: 4.547 kB / 0.8688 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.744e-06/1.228, allocations: 2.438 kB / 0.8688 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.688e-05/1.228, allocations: 0.7812 kB / 0.8688 GB, free: 6.766 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00178/1.23, allocations: 1.1 MB / 0.8699 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/1.23, allocations: 10.91 kB / 0.8699 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.802e-05/1.23, allocations: 85.67 kB / 0.87 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/1.232, allocations: 211.2 kB / 0.8702 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009597/1.233, allocations: 0.6099 MB / 0.8708 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/1.233, allocations: 45 kB / 0.8708 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.448e-05/1.233, allocations: 44.2 kB / 0.8709 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009483/1.234, allocations: 500 kB / 0.8713 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/1.234, allocations: 1.094 kB / 0.8713 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/1.234, allocations: 19.31 kB / 0.8714 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/1.234, allocations: 18 kB / 0.8714 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000803/1.235, allocations: 443 kB / 0.8718 GB, free: 5.777 MB / 0.6856 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.002656/1.237, allocations: 2.006 MB / 0.8738 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/1.238, allocations: 350.4 kB / 0.8741 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/1.238, allocations: 208.8 kB / 0.8743 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/1.239, allocations: 194.7 kB / 0.8745 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/1.239, allocations: 35.48 kB / 0.8745 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/1.239, allocations: 0.9375 kB / 0.8745 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of matching and sorting (n=33): time 0.001246/1.24, allocations: 0.5528 MB / 0.8751 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/1.24, allocations: 56.92 kB / 0.8751 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/1.241, allocations: 0.5085 MB / 0.8756 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/1.241, allocations: 32.36 kB / 0.8756 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/1.241, allocations: 303.5 kB / 0.8759 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/1.241, allocations: 116.6 kB / 0.876 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.241, allocations: 70.52 kB / 0.8761 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002919/1.241, allocations: 361.8 kB / 0.8764 GB, free: 19.71 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/1.242, allocations: 143.8 kB / 0.8766 GB, free: 19.7 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/1.242, allocations: 217.3 kB / 0.8768 GB, free: 19.64 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/1.243, allocations: 341.2 kB / 0.8771 GB, free: 19.6 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.243, allocations: 4.391 kB / 0.8771 GB, free: 19.6 MB / 0.7012 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008319/1.243, allocations: 428.2 kB / 0.8775 GB, free: 19.54 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.244, allocations: 10.27 kB / 0.8775 GB, free: 19.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.244, allocations: 2 kB / 0.8775 GB, free: 19.54 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.244, allocations: 2.25 kB / 0.8775 GB, free: 19.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/1.244, allocations: 73.3 kB / 0.8776 GB, free: 19.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.244, allocations: 2.188 kB / 0.8776 GB, free: 19.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/1.244, allocations: 42.14 kB / 0.8777 GB, free: 19.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/1.244, allocations: 11.91 kB / 0.8777 GB, free: 19.52 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004919/1.245, allocations: 311.3 kB / 0.878 GB, free: 19.43 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003087/1.245, allocations: 214 kB / 0.8782 GB, free: 19.37 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005546/1.246, allocations: 329.9 kB / 0.8785 GB, free: 19.33 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/1.246, allocations: 1.469 kB / 0.8785 GB, free: 19.33 MB / 0.7012 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008225/1.247, allocations: 427.6 kB / 0.8789 GB, free: 19.26 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.247, allocations: 6.812 kB / 0.8789 GB, free: 19.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/1.247, allocations: 1.125 kB / 0.8789 GB, free: 19.26 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/1.247, allocations: 10.22 kB / 0.8789 GB, free: 19.26 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/1.247, allocations: 73.25 kB / 0.879 GB, free: 19.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.247, allocations: 5.312 kB / 0.879 GB, free: 19.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/1.248, allocations: 33.64 kB / 0.879 GB, free: 19.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/1.248, allocations: 15.47 kB / 0.879 GB, free: 19.25 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001704/1.248, allocations: 196.7 kB / 0.8792 GB, free: 19.07 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/1.248, allocations: 62.06 kB / 0.8793 GB, free: 19.04 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000912/1.249, allocations: 424.1 kB / 0.8797 GB, free: 18.99 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/1.249, allocations: 4.266 kB / 0.8797 GB, free: 18.99 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.249, allocations: 0.5 kB / 0.8797 GB, free: 18.99 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007272/1.25, allocations: 436.7 kB / 0.8801 GB, free: 18.83 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/1.252, allocations: 1.17 MB / 0.8812 GB, free: 18.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.252, allocations: 1.688 kB / 0.8812 GB, free: 18.47 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/1.252, allocations: 82.61 kB / 0.8813 GB, free: 18.47 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/1.252, allocations: 5.297 kB / 0.8813 GB, free: 18.47 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/1.252, allocations: 12.52 kB / 0.8813 GB, free: 18.47 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/1.252, allocations: 3.531 kB / 0.8813 GB, free: 18.47 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/1.252, allocations: 5.312 kB / 0.8813 GB, free: 18.47 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/1.253, allocations: 0.7018 MB / 0.882 GB, free: 18.25 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/1.254, allocations: 180.9 kB / 0.8822 GB, free: 18.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.133e-05/1.254, allocations: 12.5 kB / 0.8822 GB, free: 18.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/1.254, allocations: 29.27 kB / 0.8822 GB, free: 18.12 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/1.254, allocations: 28.94 kB / 0.8823 GB, free: 18.12 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/1.254, allocations: 13.75 kB / 0.8823 GB, free: 18.12 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004862/1.255, allocations: 365 kB / 0.8826 GB, free: 18.03 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/1.255, allocations: 2.438 kB / 0.8826 GB, free: 18.03 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0011/1.256, allocations: 323.2 kB / 0.8829 GB, free: 17.99 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001762/1.258, allocations: 1.337 MB / 0.8843 GB, free: 17.24 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00105/1.259, allocations: 0.5181 MB / 0.8848 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.259, allocations: 2.562 kB / 0.8848 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003013/1.259, allocations: 185.8 kB / 0.8849 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/1.26, allocations: 351.9 kB / 0.8853 GB, free: 17.18 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/1.267, allocations: 4.633 MB / 0.8898 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/1.267, allocations: 0.9337 MB / 0.8907 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006087/1.268, allocations: 181.2 kB / 0.8909 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/1.268, allocations: 218.5 kB / 0.8911 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of SimCode: time 5.01e-07/1.268, allocations: 0 / 0.8911 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0457/1.314, allocations: 17.17 MB / 0.9079 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/9.752, allocations: 11.75 kB / 0.9079 GB, free: 13.45 MB / 0.7012 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Delays_Examples_Delay.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)