Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001034, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009025/0.0009025, allocations: 177.6 kB / 16.91 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7123/0.7123, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 12 kB / 495.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.899/1.051, allocations: 298.7 MB / 0.8518 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02962/1.081, allocations: 25.73 MB / 0.8769 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004561/1.086, allocations: 108.6 kB / 0.877 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004987/1.091, allocations: 1.545 MB / 0.8785 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01449/1.105, allocations: 5.624 MB / 0.884 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006157/1.111, allocations: 2.381 MB / 0.8863 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01215/1.123, allocations: 12.41 MB / 0.8984 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004649/1.128, allocations: 2.992 MB / 0.9013 GB, free: 16.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01191/1.14, allocations: 3.552 MB / 0.9048 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007253/1.147, allocations: 2.939 MB / 0.9077 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009999/1.148, allocations: 151.6 kB / 0.9078 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/1.16, allocations: 5.276 MB / 0.913 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002429/1.162, allocations: 1.429 MB / 0.9144 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00364/1.166, allocations: 1.882 MB / 0.9162 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/1.178, allocations: 6.745 MB / 0.9228 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.178, allocations: 2.438 kB / 0.9228 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/1.178, allocations: 0 / 0.9228 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001648/1.178, allocations: 6.906 kB / 0.9228 GB, free: 11.7 MB / 0.6544 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.006174/1.184, allocations: 3.431 MB / 0.9262 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.184, allocations: 9.812 kB / 0.9262 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005539/1.185, allocations: 397.4 kB / 0.9266 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005619/1.19, allocations: 0.9375 MB / 0.9275 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004003/1.194, allocations: 2.265 MB / 0.9297 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/1.195, allocations: 277.6 kB / 0.9299 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/1.195, allocations: 291 kB / 0.9302 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005132/1.2, allocations: 3.369 MB / 0.9335 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-05/1.2, allocations: 3.188 kB / 0.9335 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/1.2, allocations: 118.2 kB / 0.9336 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.153e-05/1.2, allocations: 108 kB / 0.9337 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003945/1.204, allocations: 2.804 MB / 0.9365 GB, free: 6.547 MB / 0.6544 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.01488/1.219, allocations: 13.26 MB / 0.9494 GB, free: 10.93 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/1.222, allocations: 1.687 MB / 0.9511 GB, free: 9.449 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/1.223, allocations: 1.114 MB / 0.9522 GB, free: 8.336 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/1.224, allocations: 327.3 kB / 0.9525 GB, free: 7.969 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/1.224, allocations: 56.56 kB / 0.9525 GB, free: 7.906 MB / 0.67 GB Notification: Performance of pre-optimization done (n=182): time 3.336e-06/1.224, allocations: 3.938 kB / 0.9525 GB, free: 7.902 MB / 0.67 GB Notification: Performance of matching and sorting (n=182): time 0.004733/1.229, allocations: 2.741 MB / 0.9552 GB, free: 5.16 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/1.229, allocations: 69.41 kB / 0.9553 GB, free: 5.078 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/1.231, allocations: 1.997 MB / 0.9572 GB, free: 3.062 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001688/1.231, allocations: 69.7 kB / 0.9573 GB, free: 2.988 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000927/1.232, allocations: 1.409 MB / 0.9587 GB, free: 1.566 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005396/1.233, allocations: 0.6334 MB / 0.9593 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/1.233, allocations: 173.6 kB / 0.9594 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.278e-05/1.233, allocations: 302.8 kB / 0.9597 GB, free: 476 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/1.234, allocations: 0.8049 MB / 0.9605 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/1.236, allocations: 1.414 MB / 0.9619 GB, free: 14 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/1.239, allocations: 2.265 MB / 0.9641 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.239, allocations: 4 kB / 0.9641 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003796/1.243, allocations: 2.497 MB / 0.9666 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002827/1.243, allocations: 498.8 kB / 0.967 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/1.243, allocations: 16 kB / 0.967 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.322e-05/1.243, allocations: 24 kB / 0.9671 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/1.245, allocations: 0.5567 MB / 0.9676 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/1.247, allocations: 4.16 MB / 0.9717 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/1.251, allocations: 400.9 kB / 0.9721 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/1.251, allocations: 87.98 kB / 0.9721 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/1.251, allocations: 4 kB / 0.9721 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003166/1.254, allocations: 2.225 MB / 0.9743 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.254, allocations: 16 kB / 0.9743 GB, free: 1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.254, allocations: 24 kB / 0.9744 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.256, allocations: 474.8 kB / 0.9748 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.549e-05/1.256, allocations: 29.53 kB / 0.9748 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/1.259, allocations: 378.1 kB / 0.9752 GB, free: 152 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.259, allocations: 87.98 kB / 0.9753 GB, free: 64 kB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * 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.001444/1.26, allocations: 0.8724 MB / 0.9761 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/1.261, allocations: 268.8 kB / 0.9764 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/1.264, allocations: 2.103 MB / 0.9784 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/1.264, allocations: 20 kB / 0.9785 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.264, allocations: 0 / 0.9785 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002597/1.267, allocations: 1.899 MB / 0.9803 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00771/1.274, allocations: 5.181 MB / 0.9854 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.274, allocations: 3.938 kB / 0.9854 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/1.277, allocations: 0.4909 MB / 0.9859 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/1.277, allocations: 8 kB / 0.9859 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/1.277, allocations: 55.97 kB / 0.9859 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/1.279, allocations: 4.133 MB / 0.99 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.279, allocations: 7.469 kB / 0.99 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/1.283, allocations: 3.229 MB / 0.9931 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.284, allocations: 0.5638 MB / 0.9937 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/1.284, allocations: 48 kB / 0.9937 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/1.286, allocations: 252.3 kB / 0.994 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/1.287, allocations: 120.7 kB / 0.9941 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/1.287, allocations: 63.97 kB / 0.9941 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001668/1.288, allocations: 1.338 MB / 0.9954 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/1.288, allocations: 0 / 0.9954 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003453/1.292, allocations: 1.718 MB / 0.9971 GB, free: 9.41 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mC[1],vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mC[1],vol3.dynBal.medium.Xi[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mC[1],vol4.dynBal.medium.Xi[1],vol4.dynBal.U,vol4.dynBal.m,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 (182): * Single equations (assignments): 175 * 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.004959/1.297, allocations: 4.029 MB / 1.001 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00556/1.302, allocations: 3.318 MB / 1.004 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.302, allocations: 4 kB / 1.004 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/1.304, allocations: 1.029 MB / 1.005 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008352/1.312, allocations: 1.592 MB / 1.007 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03311/1.345, allocations: 24.76 MB / 1.031 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/1.347, allocations: 2.189 MB / 1.033 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004123/1.351, allocations: 1.1 MB / 1.034 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/1.353, allocations: 1.261 MB / 1.035 GB, free: 492 kB / 0.7481 GB Notification: Performance of SimCode: time 8.32e-07/1.353, allocations: 0 / 1.035 GB, free: 492 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/1.487, allocations: 73.67 MB / 1.107 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/1.487, allocations: 287.2 kB / 1.108 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.85/5.337, allocations: 0 / 1.108 GB, free: 7.348 MB / 0.8262 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)