Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_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.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001711/0.001711, allocations: 191.4 kB / 16.13 MB, free: 6.672 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 282.9 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8679/0.8679, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 88.78 kB / 0.5946 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1241, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.3757/0.4998, allocations: 184.9 MB / 0.8601 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.512, allocations: 13.06 MB / 0.8728 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006112/0.5126, allocations: 28.75 kB / 0.8728 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000894/0.5135, allocations: 337.8 kB / 0.8732 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.5151, allocations: 0.8748 MB / 0.874 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.5163, allocations: 0.6166 MB / 0.8746 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001489/0.5178, allocations: 2.102 MB / 0.8767 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005576/0.5184, allocations: 0.5591 MB / 0.8772 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.5208, allocations: 1.592 MB / 0.8788 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009253/0.5217, allocations: 0.5269 MB / 0.8793 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.5218, allocations: 35.09 kB / 0.8793 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.523, allocations: 0.9762 MB / 0.8803 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.5232, allocations: 260 kB / 0.8805 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002803/0.5235, allocations: 368.2 kB / 0.8809 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.5245, allocations: 1.178 MB / 0.882 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.5245, allocations: 4 kB / 0.882 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.82e-07/0.5245, allocations: 0 / 0.882 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.5245, allocations: 0 / 0.882 GB, free: 4.469 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001145/0.5257, allocations: 1.049 MB / 0.8831 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.5257, allocations: 10.19 kB / 0.8831 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.749e-05/0.5258, allocations: 102.9 kB / 0.8832 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008014/0.5266, allocations: 197.7 kB / 0.8834 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005977/0.5273, allocations: 0.5201 MB / 0.8839 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.5276, allocations: 98.91 kB / 0.884 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.5276, allocations: 58.09 kB / 0.884 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.5286, allocations: 0.7656 MB / 0.8848 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5286, allocations: 5.781 kB / 0.8848 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.5287, allocations: 32.16 kB / 0.8848 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.5287, allocations: 21.16 kB / 0.8848 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007882/0.5295, allocations: 468.5 kB / 0.8853 GB, free: 2.082 MB / 0.5919 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.002987/0.5325, allocations: 4.177 MB / 0.8893 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.5326, allocations: 112.6 kB / 0.8895 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/0.5327, allocations: 74 kB / 0.8895 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.5328, allocations: 93.31 kB / 0.8896 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.5329, allocations: 38.56 kB / 0.8896 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.5329, allocations: 2.688 kB / 0.8896 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005287/0.5334, allocations: 235.2 kB / 0.8899 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.5335, allocations: 135.2 kB / 0.89 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/0.5344, allocations: 0.8345 MB / 0.8908 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.5344, allocations: 25.7 kB / 0.8908 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.5346, allocations: 403.1 kB / 0.8912 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.5347, allocations: 40.58 kB / 0.8913 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5348, allocations: 86.38 kB / 0.8913 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.5349, allocations: 327 kB / 0.8917 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.5351, allocations: 107.6 kB / 0.8918 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.5355, allocations: 347.3 kB / 0.8921 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.536, allocations: 411.6 kB / 0.8925 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.536, allocations: 2.219 kB / 0.8925 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00077/0.5368, allocations: 495.8 kB / 0.893 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5368, allocations: 7.406 kB / 0.893 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5368, allocations: 7.531 kB / 0.893 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5368, allocations: 9.906 kB / 0.893 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.5371, allocations: 96.33 kB / 0.8931 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.5371, allocations: 14 kB / 0.8931 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.5377, allocations: 123.7 kB / 0.8932 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.5377, allocations: 28.3 kB / 0.8932 GB, free: 11.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.5379, allocations: 225.5 kB / 0.8935 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.5381, allocations: 70.34 kB / 0.8935 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.232e-05/0.5381, allocations: 77.72 kB / 0.8936 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5382, allocations: 3.938 kB / 0.8936 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5382, allocations: 2.5 kB / 0.8936 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5382, allocations: 5.719 kB / 0.8936 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.5392, allocations: 1.126 MB / 0.8947 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5392, allocations: 3.984 kB / 0.8947 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.007e-05/0.5393, allocations: 15.25 kB / 0.8947 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5393, allocations: 2.781 kB / 0.8947 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.5393, allocations: 9.344 kB / 0.8947 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5394, allocations: 9.875 kB / 0.8947 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5394, allocations: 2.906 kB / 0.8947 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.5396, allocations: 264.4 kB / 0.895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.5398, allocations: 167.9 kB / 0.8952 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.5399, allocations: 4.312 kB / 0.8952 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.5402, allocations: 28.75 kB / 0.8952 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.5402, allocations: 13.25 kB / 0.8952 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.5402, allocations: 4.781 kB / 0.8952 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006595/0.5409, allocations: 0.5887 MB / 0.8958 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5409, allocations: 96 / 0.8958 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004325/0.5413, allocations: 157.8 kB / 0.8959 GB, free: 9.109 MB / 0.6075 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 (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.0006826/0.542, allocations: 0.8847 MB / 0.8968 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.5424, allocations: 228.8 kB / 0.897 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5424, allocations: 0 / 0.897 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/0.5425, allocations: 48.11 kB / 0.8971 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.5439, allocations: 363.9 kB / 0.8974 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/0.5502, allocations: 5.796 MB / 0.9031 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.5506, allocations: 0.9331 MB / 0.904 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004068/0.5511, allocations: 148.3 kB / 0.9041 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.5513, allocations: 233.8 kB / 0.9043 GB, free: 432 kB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.5513, allocations: 0 / 0.9043 GB, free: 432 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.563/6.114, allocations: 17.2 MB / 0.9211 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.4717/6.586, allocations: 288.7 kB / 0.9214 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/9.644, allocations: 0 / 0.9214 GB, free: 15.25 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)