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.523/1.523, allocations: 252 MB / 267.3 MB, free: 10.85 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.001129/0.001129, allocations: 174.6 kB / 327 MB, free: 2.09 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.603/1.603, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0007007/0.0007007, allocations: 97.89 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003052, allocations: 8.969 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1895, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.802/0.9916, allocations: 299.4 MB / 1.193 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.04634/1.038, allocations: 25.78 MB / 1.218 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005899/1.044, allocations: 99.25 kB / 1.219 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.006821/1.051, allocations: 1.555 MB / 1.22 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.02308/1.074, allocations: 5.646 MB / 1.226 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01059/1.084, allocations: 2.47 MB / 1.228 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02232/1.107, allocations: 12.69 MB / 1.24 GB, free: 6.578 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007156/1.114, allocations: 3.03 MB / 1.243 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/1.126, allocations: 3.487 MB / 1.247 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009886/1.136, allocations: 2.993 MB / 1.25 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001155/1.137, allocations: 152 kB / 1.25 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01677/1.154, allocations: 5.295 MB / 1.255 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.004023/1.158, allocations: 1.465 MB / 1.256 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.005806/1.164, allocations: 1.914 MB / 1.258 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.02178/1.185, allocations: 6.884 MB / 1.265 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/1.185, allocations: 0 / 1.265 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.186e-06/1.185, allocations: 0 / 1.265 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002107/1.186, allocations: 0 / 1.265 GB, free: 13.22 MB / 0.7917 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.01066/1.196, allocations: 3.454 MB / 1.268 GB, free: 9.699 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.196, allocations: 12.03 kB / 1.268 GB, free: 9.688 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001232/1.198, allocations: 395.9 kB / 1.269 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009471/1.207, allocations: 0.94 MB / 1.27 GB, free: 8.348 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009768/1.217, allocations: 2.463 MB / 1.272 GB, free: 5.809 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005627/1.218, allocations: 281.5 kB / 1.272 GB, free: 5.52 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/1.219, allocations: 303.8 kB / 1.273 GB, free: 5.223 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/1.231, allocations: 3.403 MB / 1.276 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/1.231, allocations: 0 / 1.276 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007787/1.232, allocations: 120 kB / 1.276 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/1.232, allocations: 113.4 kB / 1.276 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009323/1.242, allocations: 2.832 MB / 1.279 GB, free: 14.66 MB / 0.8073 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.02771/1.269, allocations: 13.31 MB / 1.292 GB, free: 168 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004654/1.274, allocations: 1.836 MB / 1.294 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002627/1.277, allocations: 1.118 MB / 1.295 GB, free: 13.21 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006772/1.277, allocations: 329.2 kB / 1.295 GB, free: 12.83 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.845e-05/1.278, allocations: 60.56 kB / 1.295 GB, free: 12.76 MB / 0.823 GB Notification: Performance of pre-optimization done (n=186): time 6.873e-06/1.278, allocations: 0 / 1.295 GB, free: 12.76 MB / 0.823 GB Notification: Performance of matching and sorting (n=186): time 0.008227/1.286, allocations: 2.75 MB / 1.298 GB, free: 10.01 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.286, allocations: 73.41 kB / 1.298 GB, free: 9.922 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004657/1.291, allocations: 1.992 MB / 1.3 GB, free: 7.91 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004207/1.291, allocations: 69.7 kB / 1.3 GB, free: 7.836 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001662/1.293, allocations: 1.397 MB / 1.301 GB, free: 6.426 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/1.294, allocations: 0.6546 MB / 1.302 GB, free: 5.762 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/1.294, allocations: 44 kB / 1.302 GB, free: 5.719 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002534/1.294, allocations: 397.8 kB / 1.302 GB, free: 5.324 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/1.297, allocations: 0.8043 MB / 1.303 GB, free: 4.516 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003018/1.3, allocations: 1.448 MB / 1.305 GB, free: 2.801 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00532/1.305, allocations: 2.241 MB / 1.307 GB, free: 396 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/1.305, allocations: 4 kB / 1.307 GB, free: 392 kB / 0.823 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00735/1.312, allocations: 2.498 MB / 1.309 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000506/1.313, allocations: 478.3 kB / 1.31 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/1.313, allocations: 12 kB / 1.31 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.909e-05/1.313, allocations: 24 kB / 1.31 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/1.317, allocations: 0.5694 MB / 1.31 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/1.321, allocations: 4.149 MB / 1.314 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005509/1.326, allocations: 386.3 kB / 1.315 GB, free: 7.938 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004601/1.327, allocations: 91.97 kB / 1.315 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.327, allocations: 4 kB / 1.315 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006777/1.334, allocations: 2.23 MB / 1.317 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.063e-05/1.334, allocations: 12 kB / 1.317 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.342e-05/1.334, allocations: 27.98 kB / 1.317 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/1.337, allocations: 475.8 kB / 1.317 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.244e-05/1.337, allocations: 31.86 kB / 1.317 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/1.343, allocations: 364.8 kB / 1.318 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004645/1.343, allocations: 91.98 kB / 1.318 GB, free: 4.633 MB / 0.8386 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 (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003107/1.346, allocations: 0.8735 MB / 1.319 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.348, allocations: 268.8 kB / 1.319 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006477/1.354, allocations: 2.134 MB / 1.321 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/1.354, allocations: 20 kB / 1.321 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/1.354, allocations: 3.938 kB / 1.321 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004685/1.359, allocations: 1.898 MB / 1.323 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/1.375, allocations: 5.224 MB / 1.328 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.887e-05/1.375, allocations: 4 kB / 1.328 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004103/1.379, allocations: 0.5035 MB / 1.329 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-05/1.379, allocations: 12 kB / 1.329 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002793/1.38, allocations: 55.92 kB / 1.329 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/1.382, allocations: 4.126 MB / 1.333 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.382, allocations: 4 kB / 1.333 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008831/1.391, allocations: 3.398 MB / 1.336 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/1.394, allocations: 0.5989 MB / 1.337 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009718/1.395, allocations: 40 kB / 1.337 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004456/1.399, allocations: 266.8 kB / 1.337 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004341/1.4, allocations: 117.7 kB / 1.337 GB, free: 0.6875 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003836/1.4, allocations: 75.95 kB / 1.337 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.004381/1.405, allocations: 1.333 MB / 1.338 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.91e-07/1.405, allocations: 0 / 1.338 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008333/1.413, allocations: 1.749 MB / 1.34 GB, free: 13.52 MB / 0.8698 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 (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009557/1.423, allocations: 4.247 MB / 1.344 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009453/1.432, allocations: 3.329 MB / 1.347 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/1.432, allocations: 0 / 1.347 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002707/1.435, allocations: 1.047 MB / 1.348 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01263/1.448, allocations: 1.603 MB / 1.35 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05616/1.504, allocations: 24.48 MB / 1.374 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00259/1.506, allocations: 2.193 MB / 1.376 GB, free: 6.621 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005716/1.512, allocations: 1.103 MB / 1.377 GB, free: 5.512 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002764/1.515, allocations: 1.269 MB / 1.378 GB, free: 4.242 MB / 0.9011 GB Notification: Performance of SimCode: time 4.469e-06/1.515, allocations: 0 / 1.378 GB, free: 4.242 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5807/2.096, allocations: 75.04 MB / 1.452 GB, free: 328.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/2.096, allocations: 295.9 kB / 1.452 GB, free: 328.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.614/7.71, allocations: 0 / 1.452 GB, free: 328.2 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)