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.001096/0.001096, allocations: 100 kB / 15.05 MB, free: 1.105 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.001115/0.001115, allocations: 177.3 kB / 15.94 MB, free: 228 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.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.008/1.008, allocations: 143.3 MB / 434.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004069, allocations: 15.98 kB / 0.5159 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1864, allocations: 83.41 MB / 0.5973 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.5218/0.7082, allocations: 152.6 MB / 0.7464 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008865/0.7171, allocations: 4.8 MB / 0.7511 GB, free: 14.15 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.7184, allocations: 23.81 kB / 0.7511 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.7202, allocations: 436.2 kB / 0.7515 GB, free: 13.82 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.005341/0.7255, allocations: 1.392 MB / 0.7529 GB, free: 12.69 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.003392/0.7289, allocations: 0.869 MB / 0.7537 GB, free: 12.02 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.002555/0.7315, allocations: 1.095 MB / 0.7548 GB, free: 10.97 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009718/0.7325, allocations: 452.8 kB / 0.7552 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.7341, allocations: 0.5878 MB / 0.7558 GB, free: 9.934 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005276/0.7347, allocations: 354.5 kB / 0.7561 GB, free: 9.586 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.7347, allocations: 28 kB / 0.7561 GB, free: 9.559 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.7368, allocations: 0.6942 MB / 0.7568 GB, free: 8.863 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.737, allocations: 203.4 kB / 0.757 GB, free: 8.664 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.7372, allocations: 169.3 kB / 0.7572 GB, free: 8.492 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.7384, allocations: 0.9164 MB / 0.7581 GB, free: 7.582 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7384, allocations: 0 / 0.7581 GB, free: 7.582 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.976e-06/0.7384, allocations: 0 / 0.7581 GB, free: 7.582 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.7385, allocations: 0 / 0.7581 GB, free: 7.582 MB / 0.5763 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.001715/0.7402, allocations: 0.9545 MB / 0.759 GB, free: 6.582 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.7402, allocations: 8.031 kB / 0.759 GB, free: 6.574 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.7403, allocations: 86.53 kB / 0.7591 GB, free: 6.48 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.7417, allocations: 214.8 kB / 0.7593 GB, free: 6.27 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.7427, allocations: 0.5619 MB / 0.7598 GB, free: 5.664 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.7428, allocations: 37.56 kB / 0.7599 GB, free: 5.629 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/0.7429, allocations: 47.95 kB / 0.7599 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008782/0.7438, allocations: 0.4905 MB / 0.7604 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.7438, allocations: 0 / 0.7604 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.7439, allocations: 20 kB / 0.7604 GB, free: 5.066 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.7439, allocations: 17 kB / 0.7604 GB, free: 5.051 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.7447, allocations: 447.7 kB / 0.7609 GB, free: 4.613 MB / 0.5763 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.002742/0.7474, allocations: 2.006 MB / 0.7628 GB, free: 2.434 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/0.7481, allocations: 360.6 kB / 0.7632 GB, free: 2.074 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 6.988e-05/0.7482, allocations: 20.25 kB / 0.7632 GB, free: 2.055 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.7482, allocations: 34.84 kB / 0.7632 GB, free: 2.012 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.7482, allocations: 0 / 0.7632 GB, free: 2.012 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.001274/0.7495, allocations: 0.5654 MB / 0.7638 GB, free: 1.441 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.7496, allocations: 59.36 kB / 0.7638 GB, free: 1.371 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.7501, allocations: 0.4991 MB / 0.7643 GB, free: 0.8633 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.7502, allocations: 33.7 kB / 0.7644 GB, free: 0.8242 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.7504, allocations: 304.2 kB / 0.7646 GB, free: 0.5195 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.7505, allocations: 118.3 kB / 0.7648 GB, free: 412 kB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.7505, allocations: 8 kB / 0.7648 GB, free: 404 kB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7507, allocations: 362.8 kB / 0.7651 GB, free: 32 kB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.751, allocations: 136.6 kB / 0.7652 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.7513, allocations: 213.8 kB / 0.7654 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.7516, allocations: 173.6 kB / 0.7656 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7516, allocations: 0 / 0.7656 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007214/0.7524, allocations: 433.6 kB / 0.766 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.7525, allocations: 360.8 kB / 0.7664 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.7525, allocations: 4.812 kB / 0.7664 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.7526, allocations: 3.984 kB / 0.7664 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.7529, allocations: 75.91 kB / 0.7664 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.753, allocations: 3.938 kB / 0.7664 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/0.7535, allocations: 71.64 kB / 0.7665 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.7536, allocations: 8 kB / 0.7665 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/0.7536, allocations: 4 kB / 0.7665 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006075/0.7542, allocations: 355.6 kB / 0.7669 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7542, allocations: 11.44 kB / 0.7669 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.7542, allocations: 0 / 0.7669 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.7545, allocations: 71.91 kB / 0.7669 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.7545, allocations: 0 / 0.7669 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.7551, allocations: 75.67 kB / 0.767 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.7551, allocations: 8 kB / 0.767 GB, free: 14.02 MB / 0.5919 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.0003448/0.7555, allocations: 293 kB / 0.7673 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.7556, allocations: 63.25 kB / 0.7674 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007935/0.7564, allocations: 434.9 kB / 0.7678 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.7564, allocations: 0 / 0.7678 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7564, allocations: 4 kB / 0.7678 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005884/0.757, allocations: 445.7 kB / 0.7682 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.7587, allocations: 1.183 MB / 0.7694 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.7588, allocations: 4 kB / 0.7694 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.7592, allocations: 88.08 kB / 0.7695 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.7592, allocations: 0 / 0.7695 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.7592, allocations: 8 kB / 0.7695 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.7593, allocations: 4 kB / 0.7695 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.7593, allocations: 12.62 kB / 0.7695 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.7604, allocations: 0.7871 MB / 0.7702 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.7606, allocations: 176.4 kB / 0.7704 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.7607, allocations: 8 kB / 0.7704 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005065/0.7612, allocations: 59.89 kB / 0.7705 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.7613, allocations: 31.89 kB / 0.7705 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.7613, allocations: 15.98 kB / 0.7705 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004159/0.7618, allocations: 362.8 kB / 0.7709 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7618, allocations: 0 / 0.7709 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009017/0.7627, allocations: 323.2 kB / 0.7712 GB, free: 9.551 MB / 0.5919 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.001797/0.7645, allocations: 1.83 MB / 0.773 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009613/0.7655, allocations: 0.5308 MB / 0.7735 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7655, allocations: 0 / 0.7735 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.7658, allocations: 179.8 kB / 0.7737 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.7675, allocations: 369.4 kB / 0.774 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005797/0.7733, allocations: 3.988 MB / 0.7779 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.7739, allocations: 0.9529 MB / 0.7788 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000722/0.7746, allocations: 177.3 kB / 0.779 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.7749, allocations: 219.4 kB / 0.7792 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of SimCode: time 1.233e-06/0.7749, allocations: 0 / 0.7792 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.8086, allocations: 16.69 MB / 0.7955 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003097/0.8089, allocations: 229.6 kB / 0.7957 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/2.942, allocations: 0 / 0.7957 GB, free: 0.5898 MB / 0.6075 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: