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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(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.001441/0.001441, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001746/0.001746, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.176/1.176, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004802, allocations: 11.98 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.266, allocations: 83.42 MB / 0.5975 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.6865/0.9525, allocations: 166.7 MB / 0.7603 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009964/0.9626, allocations: 4.586 MB / 0.7648 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.9644, allocations: 23.81 kB / 0.7648 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.9658, allocations: 286.1 kB / 0.7651 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003854/0.9697, allocations: 1.026 MB / 0.7661 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.972, allocations: 0.6124 MB / 0.7667 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003194/0.9752, allocations: 2.141 MB / 0.7688 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.9763, allocations: 444.7 kB / 0.7692 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.9785, allocations: 0.7079 MB / 0.7699 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.9797, allocations: 0.5175 MB / 0.7704 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.98, allocations: 28 kB / 0.7704 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.9823, allocations: 0.8768 MB / 0.7713 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004349/0.9827, allocations: 231.2 kB / 0.7715 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004119/0.9831, allocations: 173.3 kB / 0.7717 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.9848, allocations: 0.9937 MB / 0.7727 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9848, allocations: 0 / 0.7727 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9849, allocations: 0 / 0.7727 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.71e-05/0.9849, allocations: 0 / 0.7727 GB, free: 8.773 MB / 0.5919 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.002074/0.987, allocations: 0.9772 MB / 0.7736 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.987, allocations: 8.031 kB / 0.7736 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.9872, allocations: 86.52 kB / 0.7737 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.9887, allocations: 210.9 kB / 0.7739 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.99, allocations: 0.5542 MB / 0.7744 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.99, allocations: 37 kB / 0.7745 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.9902, allocations: 52.45 kB / 0.7745 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.9913, allocations: 0.4906 MB / 0.775 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.9913, allocations: 0 / 0.775 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/0.9914, allocations: 20 kB / 0.775 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.9914, allocations: 20.94 kB / 0.775 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008897/0.9923, allocations: 439.7 kB / 0.7755 GB, free: 5.793 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.00308/0.9954, allocations: 2.021 MB / 0.7774 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/0.9961, allocations: 351.5 kB / 0.7778 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.9965, allocations: 214.3 kB / 0.778 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003329/0.9968, allocations: 198.5 kB / 0.7782 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.9969, allocations: 38.84 kB / 0.7782 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.9969, allocations: 0 / 0.7782 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001308/0.9982, allocations: 0.5648 MB / 0.7788 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.9982, allocations: 55.41 kB / 0.7788 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000652/0.9989, allocations: 0.503 MB / 0.7793 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.999, allocations: 33.7 kB / 0.7793 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.9992, allocations: 304.2 kB / 0.7796 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.9994, allocations: 118.3 kB / 0.7797 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.9994, allocations: 8 kB / 0.7797 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.9996, allocations: 358.8 kB / 0.7801 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.9999, allocations: 136.6 kB / 0.7802 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/1, allocations: 216.7 kB / 0.7804 GB, free: 428 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/1.001, allocations: 177.6 kB / 0.7806 GB, free: 252 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.001, allocations: 0 / 0.7806 GB, free: 252 kB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000792/1.001, allocations: 438.2 kB / 0.781 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/1.001, allocations: 112.3 kB / 0.7811 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.001, allocations: 4 kB / 0.7811 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.001, allocations: 0 / 0.7811 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/1.002, allocations: 87.89 kB / 0.7812 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.002, allocations: 0 / 0.7812 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/1.002, allocations: 68.27 kB / 0.7813 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/1.002, allocations: 15.94 kB / 0.7813 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/1.002, allocations: 4 kB / 0.7813 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006241/1.003, allocations: 347.6 kB / 0.7816 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/1.003, allocations: 4 kB / 0.7816 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/1.003, allocations: 0 / 0.7816 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/1.003, allocations: 76.7 kB / 0.7817 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.003, allocations: 3.938 kB / 0.7817 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/1.004, allocations: 71.73 kB / 0.7818 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/1.004, allocations: 8 kB / 0.7818 GB, free: 15.01 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00029/1.004, allocations: 293 kB / 0.7821 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/1.004, allocations: 63.25 kB / 0.7821 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007967/1.005, allocations: 427 kB / 0.7825 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.005, allocations: 4 kB / 0.7825 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.005, allocations: 3.688 kB / 0.7825 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006347/1.006, allocations: 445.7 kB / 0.783 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/1.008, allocations: 1.184 MB / 0.7841 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.008, allocations: 4 kB / 0.7841 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/1.008, allocations: 84.08 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.008, allocations: 4 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/1.008, allocations: 12 kB / 0.7842 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.008, allocations: 7.953 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.008, allocations: 7.938 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/1.009, allocations: 0.7146 MB / 0.7849 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/1.01, allocations: 176.4 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/1.01, allocations: 8 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/1.01, allocations: 59.8 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/1.01, allocations: 23.86 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/1.01, allocations: 23.92 kB / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004783/1.011, allocations: 354.8 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/1.011, allocations: 0 / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000953/1.012, allocations: 327.3 kB / 0.7859 GB, free: 10.66 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001811/1.014, allocations: 1.354 MB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.015, allocations: 0.5269 MB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.015, allocations: 4 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/1.015, allocations: 179.8 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/1.017, allocations: 370.1 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/1.022, allocations: 3.576 MB / 0.7917 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008636/1.023, allocations: 0.9296 MB / 0.7926 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008713/1.024, allocations: 188.5 kB / 0.7928 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/1.025, allocations: 219.4 kB / 0.793 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/1.025, allocations: 0 / 0.793 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/1.066, allocations: 16.72 MB / 0.8093 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/1.066, allocations: 217 kB / 0.8095 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.589, allocations: 4 kB / 0.8095 GB, free: 2.617 MB / 0.6231 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/linux/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) Environment - environmentSimulation: