Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 186.2 kB / 326.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 0.5777 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000738/0.000738, allocations: 86.7 kB / 0.6822 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 12.94 kB / 0.7964 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1935, allocations: 106.3 MB / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7144/0.908, allocations: 279.4 MB / 1.173 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03219/0.9402, allocations: 24.22 MB / 1.197 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00556/0.9458, allocations: 99.91 kB / 1.197 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004575/0.9504, allocations: 1.206 MB / 1.198 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01621/0.9667, allocations: 4.388 MB / 1.202 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00719/0.9739, allocations: 2.027 MB / 1.204 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0146/0.9885, allocations: 10.7 MB / 1.215 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004788/0.9933, allocations: 2.574 MB / 1.217 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009277/1.003, allocations: 3.28 MB / 1.22 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005817/1.008, allocations: 2.853 MB / 1.223 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000719/1.009, allocations: 156 kB / 1.223 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008446/1.018, allocations: 2.408 MB / 1.226 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001994/1.02, allocations: 1.453 MB / 1.227 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001939/1.022, allocations: 0.7732 MB / 1.228 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.007598/1.029, allocations: 4.825 MB / 1.233 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.029, allocations: 4 kB / 1.233 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.975e-06/1.029, allocations: 0 / 1.233 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001482/1.029, allocations: 0 / 1.233 GB, free: 14.42 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.006588/1.036, allocations: 3.483 MB / 1.236 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.036, allocations: 8.031 kB / 1.236 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007187/1.037, allocations: 407.9 kB / 1.236 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005659/1.043, allocations: 0.9322 MB / 1.237 GB, free: 9.512 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005932/1.048, allocations: 2.375 MB / 1.24 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/1.049, allocations: 273.5 kB / 1.24 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005476/1.049, allocations: 303.9 kB / 1.24 GB, free: 6.484 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007216/1.057, allocations: 3.391 MB / 1.244 GB, free: 3.008 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-05/1.057, allocations: 7.906 kB / 1.244 GB, free: 3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/1.057, allocations: 116 kB / 1.244 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/1.057, allocations: 109.4 kB / 1.244 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00426/1.061, allocations: 2.808 MB / 1.247 GB, free: 15.95 MB / 0.7761 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.01567/1.077, allocations: 13.3 MB / 1.26 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/1.08, allocations: 1.822 MB / 1.261 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/1.081, allocations: 1.11 MB / 1.262 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/1.082, allocations: 333.1 kB / 1.263 GB, free: 14.15 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/1.082, allocations: 64.5 kB / 1.263 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=186): time 3.677e-06/1.082, allocations: 0 / 1.263 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of matching and sorting (n=186): time 0.004821/1.086, allocations: 2.735 MB / 1.265 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/1.087, allocations: 77.36 kB / 1.265 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/1.089, allocations: 1.977 MB / 1.267 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001827/1.089, allocations: 73.7 kB / 1.267 GB, free: 9.18 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/1.09, allocations: 1.391 MB / 1.269 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005855/1.091, allocations: 0.6584 MB / 1.269 GB, free: 7.105 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.149e-05/1.091, allocations: 40 kB / 1.27 GB, free: 7.066 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.091, allocations: 386 kB / 1.27 GB, free: 6.684 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/1.092, allocations: 0.7848 MB / 1.271 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/1.094, allocations: 1.444 MB / 1.272 GB, free: 4.184 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/1.096, allocations: 1.044 MB / 1.273 GB, free: 3.141 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-06/1.096, allocations: 4 kB / 1.273 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004015/1.1, allocations: 2.463 MB / 1.276 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003399/1.1, allocations: 482.3 kB / 1.276 GB, free: 16 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.1, allocations: 12 kB / 1.276 GB, free: 4 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.782e-05/1.1, allocations: 24.05 kB / 1.276 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/1.103, allocations: 0.5617 MB / 1.277 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/1.105, allocations: 4.157 MB / 1.281 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003271/1.108, allocations: 385.3 kB / 1.281 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/1.109, allocations: 87.98 kB / 1.281 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/1.109, allocations: 7.938 kB / 1.281 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003352/1.112, allocations: 2.21 MB / 1.283 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.112, allocations: 15.95 kB / 1.283 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.112, allocations: 24 kB / 1.283 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/1.114, allocations: 483.8 kB / 1.284 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-05/1.114, allocations: 31.88 kB / 1.284 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/1.117, allocations: 363 kB / 1.284 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/1.117, allocations: 95.97 kB / 1.284 GB, free: 7.43 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001756/1.119, allocations: 0.8677 MB / 1.285 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004736/1.119, allocations: 268.8 kB / 1.285 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003275/1.123, allocations: 2.126 MB / 1.287 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/1.123, allocations: 16 kB / 1.287 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.123, allocations: 0 / 1.287 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002604/1.125, allocations: 1.894 MB / 1.289 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008198/1.134, allocations: 5.209 MB / 1.294 GB, free: 12.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/1.134, allocations: 4 kB / 1.294 GB, free: 12.87 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/1.136, allocations: 0.5113 MB / 1.295 GB, free: 12.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.881e-05/1.136, allocations: 8 kB / 1.295 GB, free: 12.35 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/1.136, allocations: 59.91 kB / 1.295 GB, free: 12.29 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/1.138, allocations: 4.13 MB / 1.299 GB, free: 8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.138, allocations: 4 kB / 1.299 GB, free: 7.996 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004835/1.143, allocations: 3.39 MB / 1.302 GB, free: 4.555 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/1.144, allocations: 0.595 MB / 1.303 GB, free: 3.938 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005148/1.145, allocations: 36 kB / 1.303 GB, free: 3.902 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002514/1.147, allocations: 269.3 kB / 1.303 GB, free: 3.641 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/1.148, allocations: 117.9 kB / 1.303 GB, free: 3.523 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.148, allocations: 79.95 kB / 1.303 GB, free: 3.445 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00182/1.15, allocations: 1.314 MB / 1.305 GB, free: 2.121 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.41e-07/1.15, allocations: 0 / 1.305 GB, free: 2.121 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003995/1.154, allocations: 1.741 MB / 1.306 GB, free: 384 kB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[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 (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005756/1.159, allocations: 4.222 MB / 1.31 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005812/1.165, allocations: 3.31 MB / 1.314 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.165, allocations: 0 / 1.314 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/1.167, allocations: 1.039 MB / 1.315 GB, free: 7.762 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007323/1.174, allocations: 1.609 MB / 1.316 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/1.203, allocations: 19.1 MB / 1.335 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/1.205, allocations: 2.201 MB / 1.337 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00388/1.209, allocations: 1.103 MB / 1.338 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/1.211, allocations: 1.272 MB / 1.339 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of SimCode: time 7.41e-07/1.211, allocations: 0 / 1.339 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6454/1.856, allocations: 78.23 MB / 1.416 GB, free: 355.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/1.856, allocations: 273.8 kB / 1.416 GB, free: 355 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.951/6.807, allocations: 0 / 1.416 GB, free: 355 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)