Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 288.4 MB / 303.3 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 168.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008686/0.0008683, allocations: 101.1 kB / 0.744 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.000411, allocations: 14.8 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2023, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.8312/1.034, allocations: 278.7 MB / 1.252 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.03915/1.073, allocations: 23.98 MB / 1.275 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007593/1.08, allocations: 95.31 kB / 1.275 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.006007/1.087, allocations: 1.2 MB / 1.277 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01672/1.103, allocations: 4.358 MB / 1.281 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00774/1.111, allocations: 1.942 MB / 1.283 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01598/1.127, allocations: 10.39 MB / 1.293 GB, free: 9.879 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006217/1.133, allocations: 2.542 MB / 1.295 GB, free: 7.293 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01009/1.143, allocations: 3.182 MB / 1.298 GB, free: 4.098 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006907/1.15, allocations: 2.826 MB / 1.301 GB, free: 1.262 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001661/1.152, allocations: 152 kB / 1.301 GB, free: 1.113 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009444/1.162, allocations: 2.409 MB / 1.304 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003585/1.165, allocations: 1.422 MB / 1.305 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002785/1.168, allocations: 0.7615 MB / 1.306 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01005/1.178, allocations: 4.734 MB / 1.31 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/1.178, allocations: 0 / 1.31 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.364e-06/1.178, allocations: 0 / 1.31 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002967/1.178, allocations: 0 / 1.31 GB, free: 7.758 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.009213/1.188, allocations: 3.464 MB / 1.314 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.188, allocations: 8.031 kB / 1.314 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001434/1.189, allocations: 395.7 kB / 1.314 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006592/1.196, allocations: 0.936 MB / 1.315 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006973/1.203, allocations: 2.359 MB / 1.317 GB, free: 460 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003403/1.203, allocations: 281.4 kB / 1.318 GB, free: 164 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008046/1.204, allocations: 292 kB / 1.318 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007269/1.211, allocations: 3.351 MB / 1.321 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-05/1.211, allocations: 7.875 kB / 1.321 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002726/1.212, allocations: 116 kB / 1.321 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/1.212, allocations: 105.3 kB / 1.321 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005607/1.217, allocations: 2.785 MB / 1.324 GB, free: 9.414 MB / 0.8542 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.02108/1.239, allocations: 13.25 MB / 1.337 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/1.241, allocations: 1.867 MB / 1.339 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/1.243, allocations: 1.118 MB / 1.34 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005401/1.244, allocations: 329.2 kB / 1.34 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.987e-05/1.244, allocations: 68.45 kB / 1.34 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=186): time 3.818e-06/1.244, allocations: 0 / 1.34 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=186): time 0.005507/1.249, allocations: 2.77 MB / 1.343 GB, free: 4.75 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/1.249, allocations: 69.41 kB / 1.343 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003073/1.252, allocations: 1.953 MB / 1.345 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003302/1.253, allocations: 73.7 kB / 1.345 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/1.254, allocations: 1.395 MB / 1.346 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008289/1.255, allocations: 0.6545 MB / 1.347 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-05/1.255, allocations: 40 kB / 1.347 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002192/1.255, allocations: 386 kB / 1.348 GB, free: 124 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/1.257, allocations: 0.8044 MB / 1.348 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/1.259, allocations: 1.462 MB / 1.35 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/1.26, allocations: 1.06 MB / 1.351 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/1.26, allocations: 4 kB / 1.351 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004566/1.265, allocations: 2.486 MB / 1.353 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004193/1.265, allocations: 478.2 kB / 1.354 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/1.265, allocations: 12 kB / 1.354 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.853e-05/1.265, allocations: 28 kB / 1.354 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/1.268, allocations: 0.5694 MB / 1.354 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/1.271, allocations: 4.149 MB / 1.358 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/1.274, allocations: 385.7 kB / 1.359 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/1.275, allocations: 87.98 kB / 1.359 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.275, allocations: 5.719 kB / 1.359 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003698/1.278, allocations: 2.226 MB / 1.361 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/1.278, allocations: 12 kB / 1.361 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/1.278, allocations: 24.06 kB / 1.361 GB, free: 1.715 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/1.28, allocations: 483.3 kB / 1.361 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.333e-05/1.28, allocations: 31.86 kB / 1.361 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/1.284, allocations: 346.1 kB / 1.362 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/1.284, allocations: 91.98 kB / 1.362 GB, free: 0.7812 MB / 0.8855 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.001896/1.286, allocations: 0.8596 MB / 1.363 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007684/1.287, allocations: 268.8 kB / 1.363 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/1.29, allocations: 2.15 MB / 1.365 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/1.29, allocations: 20 kB / 1.365 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.29, allocations: 0 / 1.365 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002689/1.293, allocations: 1.906 MB / 1.367 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009338/1.302, allocations: 5.211 MB / 1.372 GB, free: 6.195 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.302, allocations: 4 kB / 1.372 GB, free: 6.191 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/1.305, allocations: 0.5153 MB / 1.373 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.131e-05/1.305, allocations: 12 kB / 1.373 GB, free: 5.664 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/1.305, allocations: 55.92 kB / 1.373 GB, free: 5.609 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/1.307, allocations: 4.118 MB / 1.377 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.307, allocations: 4.031 kB / 1.377 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005454/1.313, allocations: 3.43 MB / 1.38 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.315, allocations: 0.5754 MB / 1.381 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003318/1.315, allocations: 40 kB / 1.381 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/1.317, allocations: 250.1 kB / 1.381 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/1.317, allocations: 125.9 kB / 1.381 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.318, allocations: 71.97 kB / 1.381 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002049/1.32, allocations: 1.302 MB / 1.382 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/1.32, allocations: 0 / 1.382 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004297/1.324, allocations: 1.726 MB / 1.384 GB, free: 9.727 MB / 0.9167 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.005865/1.33, allocations: 4.235 MB / 1.388 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006542/1.336, allocations: 3.34 MB / 1.391 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.336, allocations: 4 kB / 1.391 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/1.338, allocations: 1.043 MB / 1.392 GB, free: 1.062 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00842/1.347, allocations: 1.613 MB / 1.394 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03465/1.381, allocations: 19.14 MB / 1.413 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002058/1.383, allocations: 2.185 MB / 1.415 GB, free: 8.672 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004412/1.388, allocations: 1.107 MB / 1.416 GB, free: 7.559 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/1.39, allocations: 1.269 MB / 1.417 GB, free: 6.289 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/1.39, allocations: 3.938 kB / 1.417 GB, free: 6.285 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.634/2.024, allocations: 78.07 MB / 1.493 GB, free: 338.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/2.024, allocations: 283.7 kB / 1.494 GB, free: 337.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.079/7.104, allocations: 0 / 1.494 GB, free: 337.8 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)