Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.001011/0.001011, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001294/0.001294, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.005/1.005, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003103, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1658, allocations: 83.42 MB / 0.5975 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.503/0.6688, allocations: 170.2 MB / 0.7638 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.6819, allocations: 12.1 MB / 0.7756 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008239/0.6828, allocations: 27.81 kB / 0.7756 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009669/0.6838, allocations: 278.2 kB / 0.7759 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.6856, allocations: 0.7153 MB / 0.7766 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.6872, allocations: 0.5615 MB / 0.7772 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.689, allocations: 1.777 MB / 0.7789 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006072/0.6896, allocations: 498.8 kB / 0.7794 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.6922, allocations: 1.276 MB / 0.7806 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005952/0.6928, allocations: 478 kB / 0.7811 GB, free: 112 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.6929, allocations: 28 kB / 0.7811 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.694, allocations: 0.5925 MB / 0.7817 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.6942, allocations: 259.2 kB / 0.7819 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.6944, allocations: 161.3 kB / 0.7821 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000785/0.6952, allocations: 0.8496 MB / 0.7829 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.6952, allocations: 0 / 0.7829 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6952, allocations: 0 / 0.7829 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.6952, allocations: 0 / 0.7829 GB, free: 14.22 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.0011/0.6963, allocations: 0.9252 MB / 0.7838 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6964, allocations: 8.031 kB / 0.7838 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.6965, allocations: 107.2 kB / 0.7839 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/0.6973, allocations: 214.8 kB / 0.7841 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006616/0.698, allocations: 0.494 MB / 0.7846 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/0.6983, allocations: 105.2 kB / 0.7847 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.6983, allocations: 60 kB / 0.7848 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.6994, allocations: 0.7674 MB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.6994, allocations: 8 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.6995, allocations: 28.56 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.6995, allocations: 24.95 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008226/0.7004, allocations: 476.3 kB / 0.786 GB, free: 10.83 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.003191/0.7036, allocations: 4.17 MB / 0.7901 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.7037, allocations: 102.3 kB / 0.7902 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.495e-05/0.7038, allocations: 83.58 kB / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.7039, allocations: 93.09 kB / 0.7904 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.704, allocations: 40 kB / 0.7904 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.704, allocations: 0 / 0.7904 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005726/0.7046, allocations: 244.6 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.7046, allocations: 132.5 kB / 0.7908 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009749/0.7056, allocations: 0.8447 MB / 0.7916 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.7057, allocations: 25.7 kB / 0.7916 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.7059, allocations: 395 kB / 0.792 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.706, allocations: 43.44 kB / 0.792 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.706, allocations: 8 kB / 0.792 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7061, allocations: 322 kB / 0.7923 GB, free: 4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.7064, allocations: 111.9 kB / 0.7924 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.7068, allocations: 346.5 kB / 0.7928 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.7071, allocations: 159.9 kB / 0.7929 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7071, allocations: 4 kB / 0.7929 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007831/0.7079, allocations: 496.5 kB / 0.7934 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.7079, allocations: 8 kB / 0.7934 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.7079, allocations: 8 kB / 0.7934 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.7079, allocations: 12 kB / 0.7934 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.7082, allocations: 96.2 kB / 0.7935 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.7082, allocations: 15.89 kB / 0.7935 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.7088, allocations: 131.9 kB / 0.7937 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.7089, allocations: 27.98 kB / 0.7937 GB, free: 2.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.7091, allocations: 225.6 kB / 0.7939 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.7092, allocations: 75.09 kB / 0.794 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.7093, allocations: 70.09 kB / 0.794 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.7094, allocations: 4 kB / 0.794 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.7094, allocations: 3.938 kB / 0.7941 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7094, allocations: 3.953 kB / 0.7941 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.7105, allocations: 1.128 MB / 0.7952 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7105, allocations: 4.75 kB / 0.7952 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-05/0.7106, allocations: 16.31 kB / 0.7952 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.7106, allocations: 7.938 kB / 0.7952 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7106, allocations: 8 kB / 0.7952 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7107, allocations: 4.5 kB / 0.7952 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.7107, allocations: 4 kB / 0.7952 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.7109, allocations: 263.8 kB / 0.7955 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.7111, allocations: 164.2 kB / 0.7956 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/0.7112, allocations: 8 kB / 0.7956 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.7115, allocations: 31.09 kB / 0.7956 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.7115, allocations: 7.938 kB / 0.7957 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.7115, allocations: 8 kB / 0.7957 GB, free: 324 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007114/0.7122, allocations: 0.5849 MB / 0.7962 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7122, allocations: 0 / 0.7962 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004922/0.7127, allocations: 155.8 kB / 0.7964 GB, free: 15.58 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007735/0.7135, allocations: 0.9001 MB / 0.7973 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004425/0.714, allocations: 237 kB / 0.7975 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.714, allocations: 4 kB / 0.7975 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.347e-05/0.7141, allocations: 43.91 kB / 0.7975 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.7155, allocations: 350 kB / 0.7979 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/0.7204, allocations: 3.869 MB / 0.8016 GB, free: 10 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.7208, allocations: 0.9372 MB / 0.8026 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004538/0.7213, allocations: 146 kB / 0.8027 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.7216, allocations: 227.4 kB / 0.8029 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.7216, allocations: 0 / 0.8029 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.7504, allocations: 17.34 MB / 0.8198 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.7506, allocations: 273.4 kB / 0.8201 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/2.888, allocations: 3.234 kB / 0.8201 GB, free: 7.434 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) Environment - environmentSimulation: