Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Delays.Examples.Delay,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Delays.Examples.Delay,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8213/0.8213, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 184.8 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000957/0.0009568, allocations: 89.5 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001777/0.001777, allocations: 279.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.054e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5003, allocations: 82.78 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.681/5.181, allocations: 1.882 GB / 2.64 GB, free: 176.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/5.182, allocations: 79.95 kB / 2.64 GB, free: 176 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.847/7.029, allocations: 483.1 MB / 3.112 GB, free: 156.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.355e-06/7.029, allocations: 0 / 3.112 GB, free: 156.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.909e-05/7.029, allocations: 28.91 kB / 3.112 GB, free: 156.3 MB / 0.698 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.001883/7.031, allocations: 0.969 MB / 3.113 GB, free: 155.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/7.031, allocations: 14.09 kB / 3.113 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/7.032, allocations: 199.4 kB / 3.113 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/7.033, allocations: 0.6226 MB / 3.113 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/7.033, allocations: 14.78 kB / 3.113 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/7.034, allocations: 30.25 kB / 3.114 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005789/7.034, allocations: 362.2 kB / 3.114 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/7.035, allocations: 399.4 kB / 3.114 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/7.035, allocations: 0 / 3.114 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/7.035, allocations: 0 / 3.114 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/7.035, allocations: 19.75 kB / 3.114 GB, free: 155.5 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.002178/7.037, allocations: 1.9 MB / 3.116 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/7.037, allocations: 302.1 kB / 3.116 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/7.038, allocations: 182.3 kB / 3.117 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/7.038, allocations: 199.1 kB / 3.117 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/7.038, allocations: 42.14 kB / 3.117 GB, free: 154.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/7.038, allocations: 0 / 3.117 GB, free: 154.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0007881/7.039, allocations: 368.2 kB / 3.117 GB, free: 154.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/7.039, allocations: 53.16 kB / 3.117 GB, free: 154.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/7.039, allocations: 369 kB / 3.118 GB, free: 154.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/7.039, allocations: 29.61 kB / 3.118 GB, free: 154.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/7.039, allocations: 315 kB / 3.118 GB, free: 154 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/7.04, allocations: 115.5 kB / 3.118 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/7.04, allocations: 2.281 kB / 3.118 GB, free: 153.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.812e-05/7.04, allocations: 361 kB / 3.118 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/7.04, allocations: 106.9 kB / 3.118 GB, free: 153.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/7.04, allocations: 204.2 kB / 3.119 GB, free: 153.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/7.04, allocations: 147.1 kB / 3.119 GB, free: 153.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/7.04, allocations: 0 / 3.119 GB, free: 153.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004605/7.041, allocations: 361.1 kB / 3.119 GB, free: 153.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.312e-05/7.041, allocations: 359.5 kB / 3.119 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/7.041, allocations: 10.3 kB / 3.119 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/7.041, allocations: 3.891 kB / 3.119 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/7.041, allocations: 68.73 kB / 3.12 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/7.041, allocations: 3.594 kB / 3.12 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/7.042, allocations: 57.52 kB / 3.12 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/7.042, allocations: 20.11 kB / 3.12 GB, free: 153 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/7.042, allocations: 7.156 kB / 3.12 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000378/7.042, allocations: 274.9 kB / 3.12 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/7.042, allocations: 3.906 kB / 3.12 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-06/7.042, allocations: 0 / 3.12 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/7.043, allocations: 71.44 kB / 3.12 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/7.043, allocations: 10.09 kB / 3.12 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/7.043, allocations: 45.64 kB / 3.12 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/7.043, allocations: 18.36 kB / 3.12 GB, free: 153 MB / 0.698 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 () * 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 9.048e-05/7.043, allocations: 109.8 kB / 3.12 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004294/7.044, allocations: 332.1 kB / 3.12 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/7.044, allocations: 59.69 kB / 3.121 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/7.044, allocations: 358.3 kB / 3.121 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/7.044, allocations: 3.812 kB / 3.121 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/7.044, allocations: 0 / 3.121 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003464/7.045, allocations: 381.8 kB / 3.121 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/7.046, allocations: 1.041 MB / 3.122 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/7.046, allocations: 3.875 kB / 3.122 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/7.046, allocations: 92.36 kB / 3.122 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/7.046, allocations: 3.688 kB / 3.122 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/7.046, allocations: 3.562 kB / 3.122 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/7.046, allocations: 3.625 kB / 3.122 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/7.046, allocations: 3.281 kB / 3.122 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007/7.047, allocations: 0.7254 MB / 3.123 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/7.047, allocations: 173.7 kB / 3.123 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/7.047, allocations: 2.812 kB / 3.123 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/7.048, allocations: 44.67 kB / 3.123 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/7.048, allocations: 29.5 kB / 3.123 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/7.048, allocations: 16.7 kB / 3.123 GB, free: 151.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002637/7.048, allocations: 294.5 kB / 3.124 GB, free: 151.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.048, allocations: 3.562 kB / 3.124 GB, free: 151.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001139/7.049, allocations: 403.8 kB / 3.124 GB, free: 151.7 MB / 0.698 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 () * 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.002549/7.052, allocations: 2.999 MB / 3.127 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006845/7.053, allocations: 460.1 kB / 3.127 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/7.053, allocations: 0 / 3.127 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/7.053, allocations: 162.1 kB / 3.128 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/7.054, allocations: 336.5 kB / 3.128 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/7.056, allocations: 1.11 MB / 3.129 GB, free: 149.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/7.057, allocations: 0.9421 MB / 3.13 GB, free: 149.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008145/7.058, allocations: 211 kB / 3.13 GB, free: 149.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/7.058, allocations: 210 kB / 3.13 GB, free: 149.2 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/7.058, allocations: 0 / 3.13 GB, free: 149.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05275/7.111, allocations: 25.2 MB / 3.155 GB, free: 148.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/7.111, allocations: 161.6 kB / 3.155 GB, free: 148.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.996/10.11, allocations: 0 / 3.155 GB, free: 148.3 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Delays_Examples_Delay.fmu > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)