Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8374/0.8374, allocations: 141.8 MB / 149.3 MB, free: 9.188 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 188.9 kB / 182.2 MB, free: 9.414 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009248/0.000925, allocations: 104.1 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001791, allocations: 276.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.076e-05, allocations: 0 / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5282, allocations: 82.79 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.567/6.095, allocations: 1.855 GB / 2.613 GB, free: 161.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/6.095, allocations: 82.52 kB / 2.613 GB, free: 161.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.208/10.3, allocations: 0.9989 GB / 3.612 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/10.3, allocations: 0 / 3.612 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.983e-05/10.3, allocations: 29.66 kB / 3.612 GB, free: 101.7 MB / 0.7136 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.006076/10.31, allocations: 1.79 MB / 3.614 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/10.31, allocations: 11.5 kB / 3.614 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003365/10.31, allocations: 0.5477 MB / 3.614 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/10.32, allocations: 1.072 MB / 3.615 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006069/10.32, allocations: 168.6 kB / 3.615 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/10.32, allocations: 50.56 kB / 3.615 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001676/10.32, allocations: 0.9947 MB / 3.616 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/10.32, allocations: 1.033 MB / 3.617 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/10.32, allocations: 0 / 3.617 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/10.32, allocations: 0 / 3.617 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.531e-05/10.32, allocations: 48.88 kB / 3.617 GB, free: 100.8 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.008276/10.33, allocations: 4.022 MB / 3.621 GB, free: 99.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/10.33, allocations: 0.7224 MB / 3.622 GB, free: 99.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/10.33, allocations: 0.4969 MB / 3.623 GB, free: 99.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009627/10.33, allocations: 0.6086 MB / 3.623 GB, free: 98.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/10.33, allocations: 40.75 kB / 3.623 GB, free: 98.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 4.448e-06/10.33, allocations: 3.938 kB / 3.623 GB, free: 98.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.002558/10.33, allocations: 1.128 MB / 3.624 GB, free: 98.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/10.33, allocations: 63.19 kB / 3.624 GB, free: 98.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007778/10.34, allocations: 0.5578 MB / 3.625 GB, free: 98.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/10.34, allocations: 32.23 kB / 3.625 GB, free: 98.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/10.34, allocations: 455.8 kB / 3.625 GB, free: 98.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/10.34, allocations: 252.2 kB / 3.626 GB, free: 98.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/10.34, allocations: 0 / 3.626 GB, free: 98.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/10.34, allocations: 333.1 kB / 3.626 GB, free: 97.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/10.34, allocations: 397.8 kB / 3.626 GB, free: 97.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/10.34, allocations: 0.524 MB / 3.627 GB, free: 97.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/10.34, allocations: 0.5762 MB / 3.627 GB, free: 97.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/10.34, allocations: 3.844 kB / 3.627 GB, free: 97.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002113/10.34, allocations: 1.178 MB / 3.629 GB, free: 97.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/10.34, allocations: 484.3 kB / 3.629 GB, free: 97.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/10.34, allocations: 2.422 kB / 3.629 GB, free: 97.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/10.34, allocations: 3.938 kB / 3.629 GB, free: 97.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/10.34, allocations: 280 kB / 3.629 GB, free: 97.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006376/10.34, allocations: 1.205 MB / 3.631 GB, free: 95.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/10.34, allocations: 172.1 kB / 3.631 GB, free: 95.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/10.34, allocations: 40.62 kB / 3.631 GB, free: 95.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/10.34, allocations: 3.594 kB / 3.631 GB, free: 95.86 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001908/10.35, allocations: 1.064 MB / 3.632 GB, free: 95.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/10.35, allocations: 3.906 kB / 3.632 GB, free: 95.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.629e-06/10.35, allocations: 3.375 kB / 3.632 GB, free: 95.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/10.35, allocations: 260.5 kB / 3.632 GB, free: 95.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/10.35, allocations: 10.61 kB / 3.632 GB, free: 95.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/10.35, allocations: 169.4 kB / 3.632 GB, free: 95.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/10.35, allocations: 45.91 kB / 3.632 GB, free: 95.84 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * 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.0003246/10.35, allocations: 114.8 kB / 3.632 GB, free: 95.73 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001983/10.35, allocations: 1.075 MB / 3.633 GB, free: 95.63 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/10.35, allocations: 96.23 kB / 3.633 GB, free: 95.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/10.35, allocations: 1.203 MB / 3.635 GB, free: 95.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/10.35, allocations: 11.94 kB / 3.635 GB, free: 95.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/10.35, allocations: 3.953 kB / 3.635 GB, free: 95.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/10.35, allocations: 3.797 kB / 3.635 GB, free: 95.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/10.36, allocations: 2.578 MB / 3.637 GB, free: 95.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/10.36, allocations: 2.562 kB / 3.637 GB, free: 95.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/10.36, allocations: 257.5 kB / 3.637 GB, free: 95.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/10.36, allocations: 11.03 kB / 3.637 GB, free: 95.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/10.36, allocations: 28.36 kB / 3.637 GB, free: 95.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003904/10.36, allocations: 1.188 MB / 3.639 GB, free: 93.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/10.36, allocations: 9.188 kB / 3.639 GB, free: 93.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/10.36, allocations: 1.491 MB / 3.64 GB, free: 93.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005482/10.36, allocations: 305.2 kB / 3.64 GB, free: 93.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/10.36, allocations: 6.125 kB / 3.64 GB, free: 93.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/10.36, allocations: 157.7 kB / 3.641 GB, free: 93.19 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/10.36, allocations: 67.45 kB / 3.641 GB, free: 93.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.927e-05/10.36, allocations: 36.34 kB / 3.641 GB, free: 93.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006479/10.37, allocations: 438.8 kB / 3.641 GB, free: 93.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/10.37, allocations: 0 / 3.641 GB, free: 93.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00263/10.37, allocations: 0.6857 MB / 3.642 GB, free: 93.05 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * 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.008431/10.38, allocations: 5.579 MB / 3.647 GB, free: 90.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003988/10.38, allocations: 1.61 MB / 3.649 GB, free: 90.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/10.38, allocations: 0 / 3.649 GB, free: 90.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/10.38, allocations: 0.5185 MB / 3.649 GB, free: 90.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/10.38, allocations: 425.4 kB / 3.65 GB, free: 90.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/10.4, allocations: 2.535 MB / 3.652 GB, free: 89.51 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/10.4, allocations: 1.125 MB / 3.653 GB, free: 88.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002508/10.4, allocations: 447.4 kB / 3.654 GB, free: 88.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007662/10.4, allocations: 379.8 kB / 3.654 GB, free: 88.78 MB / 0.7136 GB Notification: Performance of SimCode: time 1.563e-06/10.4, allocations: 0 / 3.654 GB, free: 88.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08092/10.48, allocations: 43.57 MB / 3.697 GB, free: 87.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/10.48, allocations: 216.7 kB / 3.697 GB, free: 87.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.636/14.12, allocations: 0 / 3.697 GB, free: 87.02 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)