Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IDEAS_dev_IDEAS_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.0008163/0.0008163, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005382/0.005382, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.195/1.195, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9598/0.9598, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 12.72 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.149, allocations: 82.3 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.9053/1.054, allocations: 298.7 MB / 0.8798 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02723/1.082, allocations: 25.7 MB / 0.9049 GB, free: 1.59 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/1.085, allocations: 108.9 kB / 0.905 GB, free: 1.59 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003699/1.089, allocations: 1.538 MB / 0.9065 GB, free: 1.559 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01423/1.103, allocations: 5.618 MB / 0.912 GB, free: 1.289 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006653/1.11, allocations: 2.378 MB / 0.9143 GB, free: 1.23 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01606/1.126, allocations: 12.39 MB / 0.9264 GB, free: 1.211 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0071/1.133, allocations: 2.993 MB / 0.9293 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0117/1.145, allocations: 3.568 MB / 0.9328 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006304/1.151, allocations: 2.937 MB / 0.9357 GB, free: 16.63 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00109/1.152, allocations: 148.6 kB / 0.9358 GB, free: 16.63 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009682/1.162, allocations: 5.276 MB / 0.941 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002158/1.164, allocations: 1.425 MB / 0.9424 GB, free: 16.28 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003862/1.168, allocations: 1.885 MB / 0.9442 GB, free: 16.14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01122/1.179, allocations: 6.752 MB / 0.9508 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.179, allocations: 0 / 0.9508 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.214e-06/1.179, allocations: 0 / 0.9508 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001893/1.179, allocations: 3.281 kB / 0.9508 GB, free: 13.25 MB / 0.6856 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.006876/1.186, allocations: 3.429 MB / 0.9541 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.186, allocations: 15.92 kB / 0.9542 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001021/1.187, allocations: 389.9 kB / 0.9545 GB, free: 11 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00568/1.193, allocations: 0.937 MB / 0.9554 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/1.197, allocations: 2.271 MB / 0.9577 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/1.197, allocations: 275.6 kB / 0.9579 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003629/1.197, allocations: 290 kB / 0.9582 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004813/1.202, allocations: 3.361 MB / 0.9615 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.544e-05/1.202, allocations: 10.42 kB / 0.9615 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002245/1.202, allocations: 116.4 kB / 0.9616 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-05/1.202, allocations: 108.3 kB / 0.9617 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003796/1.206, allocations: 2.787 MB / 0.9644 GB, free: 8.098 MB / 0.6856 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.01317/1.219, allocations: 13.23 MB / 0.9774 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/1.222, allocations: 1.818 MB / 0.9791 GB, free: 14 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/1.223, allocations: 1.109 MB / 0.9802 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004244/1.224, allocations: 324.6 kB / 0.9805 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/1.224, allocations: 61.23 kB / 0.9806 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 3.637e-06/1.224, allocations: 0 / 0.9806 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.00453/1.228, allocations: 2.727 MB / 0.9832 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/1.228, allocations: 77.41 kB / 0.9833 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/1.231, allocations: 1.999 MB / 0.9853 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/1.231, allocations: 65.7 kB / 0.9853 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009725/1.232, allocations: 1.42 MB / 0.9867 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005666/1.232, allocations: 0.6391 MB / 0.9873 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/1.233, allocations: 173.6 kB / 0.9875 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/1.233, allocations: 301.1 kB / 0.9878 GB, free: 6.559 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/1.234, allocations: 0.7965 MB / 0.9886 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/1.236, allocations: 1.44 MB / 0.99 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/1.239, allocations: 2.253 MB / 0.9922 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/1.239, allocations: 4 kB / 0.9922 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004217/1.243, allocations: 2.498 MB / 0.9946 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002826/1.243, allocations: 486.5 kB / 0.9951 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/1.243, allocations: 16 kB / 0.9951 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/1.243, allocations: 27.94 kB / 0.9951 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/1.246, allocations: 0.5509 MB / 0.9957 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/1.248, allocations: 4.157 MB / 0.9997 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003881/1.252, allocations: 365.8 kB / 1 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003705/1.252, allocations: 91.92 kB / 1 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.252, allocations: 8 kB / 1 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003635/1.256, allocations: 2.211 MB / 1.002 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.256, allocations: 16 kB / 1.002 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/1.256, allocations: 24.88 kB / 1.002 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.258, allocations: 474.3 kB / 1.003 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.455e-05/1.258, allocations: 33.42 kB / 1.003 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/1.261, allocations: 342.3 kB / 1.003 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/1.261, allocations: 83.98 kB / 1.003 GB, free: 6.23 MB / 0.7169 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.001659/1.263, allocations: 0.8655 MB / 1.004 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/1.264, allocations: 276.7 kB / 1.004 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/1.267, allocations: 2.109 MB / 1.006 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/1.267, allocations: 16 kB / 1.006 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.267, allocations: 0 / 1.006 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002508/1.27, allocations: 1.881 MB / 1.008 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008367/1.278, allocations: 5.17 MB / 1.013 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.046e-06/1.278, allocations: 4 kB / 1.013 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/1.28, allocations: 0.4998 MB / 1.014 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.977e-05/1.28, allocations: 15.94 kB / 1.014 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/1.281, allocations: 51.97 kB / 1.014 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/1.282, allocations: 4.127 MB / 1.018 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.282, allocations: 4 kB / 1.018 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004761/1.287, allocations: 3.374 MB / 1.021 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.289, allocations: 0.5677 MB / 1.022 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003591/1.289, allocations: 39.98 kB / 1.022 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/1.291, allocations: 255.1 kB / 1.022 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/1.292, allocations: 112.2 kB / 1.022 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/1.292, allocations: 75.95 kB / 1.022 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001868/1.294, allocations: 1.33 MB / 1.024 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.294, allocations: 0 / 1.024 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00441/1.298, allocations: 1.718 MB / 1.025 GB, free: 15.46 MB / 0.7481 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 (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.005647/1.304, allocations: 4.179 MB / 1.029 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006206/1.31, allocations: 3.317 MB / 1.033 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.31, allocations: 4 kB / 1.033 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/1.312, allocations: 1.029 MB / 1.034 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00898/1.321, allocations: 1.596 MB / 1.035 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03747/1.358, allocations: 24.69 MB / 1.059 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/1.36, allocations: 2.185 MB / 1.061 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003805/1.364, allocations: 1.096 MB / 1.062 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001635/1.366, allocations: 1.261 MB / 1.064 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of SimCode: time 8.51e-07/1.366, allocations: 0 / 1.064 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.355/2.721, allocations: 73.86 MB / 1.136 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003618/2.721, allocations: 275.4 kB / 1.136 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.001/6.723, allocations: 4 kB / 1.136 GB, free: 13.15 MB / 0.8575 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)