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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.8115/0.8115, allocations: 128.7 MB / 143.7 MB, free: 2.32 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 182.4 kB / 173.7 MB, free: 6.133 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009716/0.0009717, allocations: 103 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 8.375 kB / 0.5604 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1705, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.026/6.197, allocations: 2.154 GB / 2.789 GB, free: 222.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004125/6.197, allocations: 91.73 kB / 2.789 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.02/8.218, allocations: 481.2 MB / 3.259 GB, free: 123 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/8.218, allocations: 6.062 kB / 3.259 GB, free: 123 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.233e-05/8.218, allocations: 21.88 kB / 3.259 GB, free: 123 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002467/8.22, allocations: 1.091 MB / 3.26 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/8.22, allocations: 8.625 kB / 3.26 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/8.221, allocations: 89.95 kB / 3.26 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/8.222, allocations: 203.1 kB / 3.261 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/8.223, allocations: 0.6465 MB / 3.261 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/8.223, allocations: 44.36 kB / 3.261 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/8.223, allocations: 49.75 kB / 3.261 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/8.225, allocations: 0.574 MB / 3.262 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/8.225, allocations: 2.844 kB / 3.262 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/8.225, allocations: 23.44 kB / 3.262 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/8.225, allocations: 16.75 kB / 3.262 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/8.227, allocations: 0.5251 MB / 3.262 GB, free: 122.2 MB / 0.6511 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.002961/8.229, allocations: 2.003 MB / 3.264 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/8.231, allocations: 438.4 kB / 3.265 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/8.231, allocations: 193.5 kB / 3.265 GB, free: 121 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/8.231, allocations: 43.38 kB / 3.265 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.755e-06/8.231, allocations: 0 / 3.265 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.002533/8.234, allocations: 0.7333 MB / 3.266 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/8.234, allocations: 57.31 kB / 3.266 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/8.234, allocations: 439.7 kB / 3.266 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/8.234, allocations: 33.98 kB / 3.266 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/8.235, allocations: 312.9 kB / 3.266 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/8.235, allocations: 116.3 kB / 3.267 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/8.235, allocations: 5.625 kB / 3.267 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001476/8.235, allocations: 372.4 kB / 3.267 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/8.235, allocations: 164.2 kB / 3.267 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/8.236, allocations: 263.3 kB / 3.267 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/8.236, allocations: 211.9 kB / 3.268 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/8.236, allocations: 4.531 kB / 3.268 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001099/8.237, allocations: 492.1 kB / 3.268 GB, free: 120 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000154/8.238, allocations: 364.9 kB / 3.268 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/8.238, allocations: 0 / 3.268 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/8.238, allocations: 3.844 kB / 3.268 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/8.238, allocations: 101.6 kB / 3.268 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/8.238, allocations: 3.031 kB / 3.268 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008165/8.239, allocations: 77.62 kB / 3.269 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/8.239, allocations: 15.56 kB / 3.269 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/8.239, allocations: 3.875 kB / 3.269 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006312/8.24, allocations: 348.1 kB / 3.269 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-06/8.24, allocations: 3.094 kB / 3.269 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/8.24, allocations: 3.781 kB / 3.269 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/8.24, allocations: 70.59 kB / 3.269 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/8.24, allocations: 2.094 kB / 3.269 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/8.241, allocations: 68.88 kB / 3.269 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/8.241, allocations: 16.3 kB / 3.269 GB, free: 119.6 MB / 0.6511 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.0004627/8.241, allocations: 294.3 kB / 3.269 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/8.241, allocations: 59.06 kB / 3.269 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/8.241, allocations: 69.53 kB / 3.269 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/8.241, allocations: 5.703 kB / 3.269 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/8.241, allocations: 5.812 kB / 3.269 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009478/8.242, allocations: 0.4982 MB / 3.27 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/8.245, allocations: 1.245 MB / 3.271 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/8.245, allocations: 5.062 kB / 3.271 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/8.245, allocations: 111.2 kB / 3.271 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/8.245, allocations: 7.688 kB / 3.271 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/8.245, allocations: 11.02 kB / 3.271 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/8.245, allocations: 0 / 3.271 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/8.245, allocations: 3.875 kB / 3.271 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/8.247, allocations: 0.8978 MB / 3.272 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/8.247, allocations: 187.4 kB / 3.272 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.336e-05/8.247, allocations: 6.906 kB / 3.272 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006211/8.248, allocations: 68.34 kB / 3.272 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/8.248, allocations: 34.81 kB / 3.272 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/8.248, allocations: 14.42 kB / 3.273 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003963/8.248, allocations: 348.9 kB / 3.273 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/8.248, allocations: 0 / 3.273 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001461/8.25, allocations: 442.7 kB / 3.273 GB, free: 118.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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.00367/8.254, allocations: 3.033 MB / 3.276 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00127/8.255, allocations: 0.5756 MB / 3.277 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/8.255, allocations: 3.969 kB / 3.277 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004158/8.255, allocations: 221.6 kB / 3.277 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/8.257, allocations: 364.6 kB / 3.277 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/8.263, allocations: 4.101 MB / 3.281 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/8.264, allocations: 0.9435 MB / 3.282 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009462/8.265, allocations: 182.3 kB / 3.282 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/8.265, allocations: 220.2 kB / 3.283 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of SimCode: time 6.743e-06/8.265, allocations: 0 / 3.283 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08372/8.349, allocations: 36.48 MB / 3.318 GB, free: 114 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/8.349, allocations: 209.4 kB / 3.318 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.172/11.52, allocations: 0 / 3.318 GB, free: 113.8 MB / 0.6511 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)