Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.000737/0.000737, allocations: 91.53 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.004271/0.004272, allocations: 174.1 kB / 16.27 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.203/1.203, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001591/0.001591, allocations: 270.5 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8881/0.8881, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003929, allocations: 18.06 kB / 0.5988 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4248/0.5594, allocations: 185.6 MB / 0.8665 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008062/0.5675, allocations: 5.689 MB / 0.872 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007218/0.5683, allocations: 34.84 kB / 0.872 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.5695, allocations: 0.493 MB / 0.8725 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.5727, allocations: 1.52 MB / 0.874 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.5752, allocations: 1.084 MB / 0.8751 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003129/0.5783, allocations: 3.493 MB / 0.8785 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009233/0.5792, allocations: 0.8198 MB / 0.8793 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.5805, allocations: 0.8564 MB / 0.8801 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.5819, allocations: 0.8082 MB / 0.8809 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.211e-05/0.582, allocations: 40.56 kB / 0.8809 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.5846, allocations: 1.698 MB / 0.8826 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.585, allocations: 426.8 kB / 0.883 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005176/0.5855, allocations: 0.5769 MB / 0.8836 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.5876, allocations: 2.099 MB / 0.8856 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5877, allocations: 4 kB / 0.8856 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5877, allocations: 0 / 0.8856 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.5877, allocations: 0 / 0.8856 GB, free: 2.641 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001824/0.5895, allocations: 1.249 MB / 0.8869 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.5896, allocations: 8.031 kB / 0.8869 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.5897, allocations: 139.2 kB / 0.887 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.5916, allocations: 342.3 kB / 0.8873 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.5927, allocations: 0.7803 MB / 0.8881 GB, free: 36 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/0.5931, allocations: 129.9 kB / 0.8882 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.5932, allocations: 87.94 kB / 0.8883 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.5949, allocations: 1.072 MB / 0.8893 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.595, allocations: 0 / 0.8893 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/0.5951, allocations: 40 kB / 0.8894 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.5951, allocations: 30 kB / 0.8894 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.5966, allocations: 0.8587 MB / 0.8902 GB, free: 13.79 MB / 0.6075 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.004853/0.6015, allocations: 4.07 MB / 0.8942 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005668/0.6021, allocations: 368 kB / 0.8946 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.6024, allocations: 215.4 kB / 0.8948 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.6026, allocations: 101.7 kB / 0.8949 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.6026, allocations: 42.5 kB / 0.8949 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.815e-06/0.6026, allocations: 3.984 kB / 0.8949 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002257/0.6049, allocations: 1.338 MB / 0.8962 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.6049, allocations: 59.41 kB / 0.8963 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.6062, allocations: 0.9921 MB / 0.8972 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.6062, allocations: 41.7 kB / 0.8973 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.6066, allocations: 495.3 kB / 0.8978 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.6067, allocations: 138 kB / 0.8979 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.6068, allocations: 53.69 kB / 0.8979 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.6069, allocations: 330 kB / 0.8983 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/0.6074, allocations: 237.2 kB / 0.8985 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005794/0.608, allocations: 405.3 kB / 0.8989 GB, free: 4.473 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/0.6104, allocations: 1.192 MB / 0.9 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6104, allocations: 0 / 0.9 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001341/0.6118, allocations: 0.7767 MB / 0.9008 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6118, allocations: 8 kB / 0.9008 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6118, allocations: 4 kB / 0.9008 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.6119, allocations: 8 kB / 0.9008 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/0.6124, allocations: 148.1 kB / 0.9009 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.6125, allocations: 11.98 kB / 0.901 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009537/0.6134, allocations: 91.78 kB / 0.901 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.6135, allocations: 27.98 kB / 0.9011 GB, free: 2.117 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003767/0.6139, allocations: 314.1 kB / 0.9014 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.614, allocations: 106.7 kB / 0.9015 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.6142, allocations: 97.03 kB / 0.9016 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6142, allocations: 4 kB / 0.9016 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6142, allocations: 0 / 0.9016 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000619/0.6148, allocations: 0.683 MB / 0.9022 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.617, allocations: 1.58 MB / 0.9038 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.617, allocations: 4.5 kB / 0.9038 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.6174, allocations: 87.91 kB / 0.9039 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.6174, allocations: 7.938 kB / 0.9039 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.6174, allocations: 15.98 kB / 0.9039 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.6174, allocations: 7.938 kB / 0.9039 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6174, allocations: 4 kB / 0.9039 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/0.6184, allocations: 0.8256 MB / 0.9047 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.6187, allocations: 239.9 kB / 0.9049 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.6188, allocations: 19.98 kB / 0.905 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007361/0.6196, allocations: 65.55 kB / 0.905 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.6196, allocations: 39.84 kB / 0.9051 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-05/0.6197, allocations: 27.98 kB / 0.9051 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009433/0.6207, allocations: 0.7074 MB / 0.9058 GB, free: 13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.6207, allocations: 3.938 kB / 0.9058 GB, free: 13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007445/0.6214, allocations: 256 kB / 0.906 GB, free: 12.75 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001488/0.6229, allocations: 1.49 MB / 0.9075 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008573/0.6238, allocations: 0.4883 MB / 0.908 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6238, allocations: 4.188 kB / 0.908 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.6241, allocations: 191.7 kB / 0.9081 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/0.6273, allocations: 0.599 MB / 0.9087 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.6382, allocations: 8.326 MB / 0.9169 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/0.6388, allocations: 1.099 MB / 0.9179 GB, free: 32 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009286/0.6398, allocations: 240.2 kB / 0.9182 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.6402, allocations: 343.3 kB / 0.9185 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of SimCode: time 7.71e-07/0.6402, allocations: 0 / 0.9185 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.739/2.38, allocations: 26.97 MB / 0.9448 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/2.38, allocations: 272.8 kB / 0.9451 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/5.201, allocations: 0 / 0.9451 GB, free: 4.609 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)