Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7743/0.7743, allocations: 128.7 MB / 143.7 MB, free: 2.332 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 180.4 kB / 173.7 MB, free: 6.129 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 87.19 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 9.906 kB / 0.5604 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1829, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.692/5.875, allocations: 2.168 GB / 2.804 GB, free: 144.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/5.875, allocations: 92.66 kB / 2.804 GB, free: 144.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.992/8.867, allocations: 0.9917 GB / 3.795 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.164e-06/8.867, allocations: 0 / 3.795 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.761e-05/8.867, allocations: 33.41 kB / 3.795 GB, free: 76.43 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005626/8.873, allocations: 1.893 MB / 3.797 GB, free: 75.59 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/8.873, allocations: 9.938 kB / 3.797 GB, free: 75.59 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000183/8.873, allocations: 134.8 kB / 3.797 GB, free: 75.55 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/8.876, allocations: 0.5409 MB / 3.798 GB, free: 75.48 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/8.878, allocations: 1.074 MB / 3.799 GB, free: 75.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005489/8.879, allocations: 198.5 kB / 3.799 GB, free: 75.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/8.879, allocations: 83.72 kB / 3.799 GB, free: 75.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/8.882, allocations: 1.397 MB / 3.801 GB, free: 75.12 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/8.882, allocations: 0 / 3.801 GB, free: 75.12 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/8.882, allocations: 36.97 kB / 3.801 GB, free: 75.12 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.271e-05/8.882, allocations: 46.14 kB / 3.801 GB, free: 75.11 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003745/8.886, allocations: 1.646 MB / 3.802 GB, free: 75.11 MB / 0.6667 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.006445/8.892, allocations: 4.054 MB / 3.806 GB, free: 73.57 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/8.895, allocations: 1.136 MB / 3.807 GB, free: 73.54 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008354/8.896, allocations: 0.6113 MB / 3.808 GB, free: 72.97 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/8.896, allocations: 42.38 kB / 3.808 GB, free: 72.93 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=75): time 2.384e-06/8.896, allocations: 0 / 3.808 GB, free: 72.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75): time 0.005438/8.901, allocations: 2.02 MB / 3.81 GB, free: 72.83 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/8.901, allocations: 59.34 kB / 3.81 GB, free: 72.77 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008815/8.902, allocations: 0.7007 MB / 3.811 GB, free: 72.62 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/8.902, allocations: 41.86 kB / 3.811 GB, free: 72.59 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000262/8.903, allocations: 453.6 kB / 3.811 GB, free: 72.45 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/8.903, allocations: 261.1 kB / 3.811 GB, free: 72.32 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/8.903, allocations: 13.16 kB / 3.811 GB, free: 72.32 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.21e-05/8.903, allocations: 334.9 kB / 3.812 GB, free: 72.02 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/8.904, allocations: 0.5822 MB / 3.812 GB, free: 72.02 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/8.906, allocations: 0.72 MB / 3.813 GB, free: 71.89 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/8.907, allocations: 0.6433 MB / 3.814 GB, free: 71.86 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/8.907, allocations: 0 / 3.814 GB, free: 71.86 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003246/8.91, allocations: 1.457 MB / 3.815 GB, free: 71.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/8.91, allocations: 396.6 kB / 3.815 GB, free: 71.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/8.91, allocations: 0 / 3.815 GB, free: 71.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/8.91, allocations: 9.625 kB / 3.815 GB, free: 71.33 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/8.913, allocations: 422.8 kB / 3.816 GB, free: 71.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/8.914, allocations: 1.336 MB / 3.817 GB, free: 70.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/8.916, allocations: 208.6 kB / 3.817 GB, free: 70.14 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/8.916, allocations: 41.59 kB / 3.817 GB, free: 70.14 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/8.916, allocations: 3.938 kB / 3.817 GB, free: 70.14 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002821/8.919, allocations: 1.304 MB / 3.819 GB, free: 70.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/8.919, allocations: 0 / 3.819 GB, free: 70.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/8.919, allocations: 6.219 kB / 3.819 GB, free: 70.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/8.92, allocations: 253.5 kB / 3.819 GB, free: 70.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/8.92, allocations: 7.828 kB / 3.819 GB, free: 70.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/8.922, allocations: 189.6 kB / 3.819 GB, free: 70.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/8.922, allocations: 43.89 kB / 3.819 GB, free: 70.05 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007199/8.923, allocations: 375.5 kB / 3.819 GB, free: 69.86 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/8.923, allocations: 101 kB / 3.82 GB, free: 69.81 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/8.926, allocations: 1.465 MB / 3.821 GB, free: 69.74 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/8.926, allocations: 7.188 kB / 3.821 GB, free: 69.74 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/8.926, allocations: 3.953 kB / 3.821 GB, free: 69.74 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/8.926, allocations: 7.406 kB / 3.821 GB, free: 69.73 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005479/8.932, allocations: 2.895 MB / 3.824 GB, free: 69.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/8.932, allocations: 7.422 kB / 3.824 GB, free: 69.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/8.935, allocations: 438.1 kB / 3.824 GB, free: 69.28 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/8.935, allocations: 6.812 kB / 3.824 GB, free: 69.28 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/8.935, allocations: 37.09 kB / 3.824 GB, free: 69.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004054/8.939, allocations: 3.16 MB / 3.827 GB, free: 66.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/8.939, allocations: 5.281 kB / 3.827 GB, free: 66.64 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/8.942, allocations: 1.724 MB / 3.829 GB, free: 66.09 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/8.943, allocations: 296.5 kB / 3.829 GB, free: 65.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/8.943, allocations: 17.31 kB / 3.829 GB, free: 65.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/8.944, allocations: 173.2 kB / 3.83 GB, free: 65.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/8.944, allocations: 67.34 kB / 3.83 GB, free: 65.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/8.944, allocations: 32 kB / 3.83 GB, free: 65.93 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000683/8.945, allocations: 0.551 MB / 3.83 GB, free: 65.82 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1e-07/8.945, allocations: 0 / 3.83 GB, free: 65.82 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00225/8.947, allocations: 0.7555 MB / 3.831 GB, free: 65.76 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006643/8.954, allocations: 5.53 MB / 3.836 GB, free: 63 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005961/8.96, allocations: 2.295 MB / 3.839 GB, free: 62.86 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/8.96, allocations: 0 / 3.839 GB, free: 62.86 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002933/8.963, allocations: 0.8864 MB / 3.839 GB, free: 62.86 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/8.965, allocations: 0.492 MB / 3.84 GB, free: 62.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/8.97, allocations: 3.413 MB / 3.843 GB, free: 61.05 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/8.97, allocations: 1.108 MB / 3.844 GB, free: 60.34 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001553/8.972, allocations: 386.3 kB / 3.845 GB, free: 60.33 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/8.973, allocations: 386.5 kB / 3.845 GB, free: 60.32 MB / 0.6667 GB Notification: Performance of SimCode: time 7.62e-07/8.973, allocations: 0 / 3.845 GB, free: 60.32 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07528/9.048, allocations: 62.36 MB / 3.906 GB, free: 35.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/9.048, allocations: 289.7 kB / 3.906 GB, free: 34.94 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.211/13.26, allocations: 5.016 kB / 3.906 GB, free: 34.94 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)